xtd - Reference Guide  0.1.1
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
data_received_event_args.h
Go to the documentation of this file.
1 #pragma once
5 #include "../event_args.h"
6 #include "../ustring.h"
7 
9 namespace xtd {
11  namespace diagnostics {
20  public:
23 
27 
30  data_received_event_args& operator=(const data_received_event_args&) = default;
32 
35  const xtd::ustring& data() const {return data_;}
36 
37  private:
38  xtd::ustring data_;
39  };
40  }
41 }
Provides data for the xtd::diagnostics::process::output_data_received and xtd::diagnostics::process::...
Definition: data_received_event_args.h:19
data_received_event_args()=default
Initializes a new instance of the data_received_event_args class.
data_received_event_args(const xtd::ustring &data)
Initializes a new instance of the data_received_event_args class.
Definition: data_received_event_args.h:26
const xtd::ustring & data() const
Gets the line of characters that was written to a redirected Process output stream.
Definition: data_received_event_args.h:35
Represents the base class for classes that contain event data, and provides a value to use for events...
Definition: event_args.h:18
Represents text as a sequence of UTF-8 code units.
Definition: ustring.h:48
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition: system_report.h:17