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 "../string.h"
7
9namespace xtd {
11 namespace diagnostics {
29 public:
32
35
38 explicit data_received_event_args(const xtd::string& data) : data_(data) {}
39
42 data_received_event_args& operator =(const data_received_event_args&) = default;
44
46
49
52 const xtd::string& data() const noexcept {return data_;}
53
55
56 private:
57 xtd::string data_;
58 };
59 }
60}
Represents text as a sequence of character units.
Definition basic_string.h:79
Provides data for the xtd::diagnostics::process::output_data_received and xtd::diagnostics::process::...
Definition data_received_event_args.h:28
data_received_event_args()=default
Initializes a new instance of the data_received_event_args class.
const xtd::string & data() const noexcept
Gets the line of characters that was written to a redirected Process output stream.
Definition data_received_event_args.h:52
data_received_event_args(const xtd::string &data)
Initializes a new instance of the data_received_event_args class.
Definition data_received_event_args.h:38
Represents the base class for classes that contain event data, and provides a value to use for events...
Definition event_args.h:18
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10