xtd 0.2.0
Loading...
Searching...
No Matches
data_received_event_args.hpp
Go to the documentation of this file.
1
4#pragma once
5#include "../event_args.hpp"
6#include "../string.hpp"
7
9namespace xtd {
11 namespace diagnostics {
29 public:
31
35
38 explicit data_received_event_args(const xtd::string& data) : data_(data) {}
40
45
47
51 [[nodiscard]] auto data() const noexcept -> const xtd::string& {return data_;}
53
54 private:
55 xtd::string data_;
56 };
57 }
58}
Provides data for the xtd::diagnostics::process::output_data_received and xtd::diagnostics::process::...
Definition data_received_event_args.hpp:28
data_received_event_args()=default
Initializes a new instance of the data_received_event_args class.
auto data() const noexcept -> const xtd::string &
Gets the line of characters that was written to a redirected Process output stream.
Definition data_received_event_args.hpp:51
data_received_event_args(const xtd::string &data)
Initializes a new instance of the data_received_event_args class.
Definition data_received_event_args.hpp:38
Represents the base class for classes that contain event data, and provides a value to use for events...
Definition event_args.hpp:18
Contains xtd::event_args event args.
xtd::basic_string< char > string
Represents text as a sequence of UTF-8 code units.
Definition __string_definitions.hpp:43
The xtd::diagnostics namespace provides classes that allow you to interact with system processes,...
Definition assert_dialog_result.hpp:10
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8
Contains xtd::string alias.