xtd 0.2.0
Loading...
Searching...
No Matches
data_received_event_args.h
Go to the documentation of this file.
1
4#pragma once
5#include "../event_args.h"
6#include "../ustring.h"
7
9namespace xtd {
11 namespace diagnostics {
27 public:
30
33
36 explicit data_received_event_args(const xtd::ustring& data) : data_(data) {}
37
40 data_received_event_args& operator =(const data_received_event_args&) = default;
42
44
47
50 const xtd::ustring& data() const noexcept {return data_;}
51
53
54 private:
55 xtd::ustring data_;
56 };
57 }
58}
Provides data for the xtd::diagnostics::process::output_data_received and xtd::diagnostics::process::...
Definition data_received_event_args.h:26
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:36
const xtd::ustring & data() const noexcept
Gets the line of characters that was written to a redirected Process output stream.
Definition data_received_event_args.h:50
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:47
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10