#include <do_work_event_args.h>
Provides data for the do_work event handler.
- Namespace
- xtd::forms
- Library
- xtd.forms
Inherits xtd::forms::cancel_event_args.
|
static const event_args | empty |
| Provides a value to use with events that do not have event data. More...
|
|
static bool | equals (const object &object_a, const object &object_b) noexcept |
| Determines whether the specified object instances are considered equal. More...
|
|
static bool | reference_equals (const object &object_a, const object &object_b) noexcept |
| Determines whether the specified object instances are the same instance. More...
|
|
bool | cancel_ |
|
◆ do_work_event_args()
xtd::forms::do_work_event_args::do_work_event_args |
( |
const std::any & |
argument | ) |
|
|
inline |
Initializes a new instance of the DoWorkEventArgs class.
- Parameters
-
argument | Specifies an argument for an asynchronous operation. |
◆ argument()
std::any xtd::forms::do_work_event_args::argument |
( |
| ) |
const |
|
inline |
Gets a value that represents the argument of an asynchronous operation.
- Returns
- An object representing the argument of an asynchronous operation.
◆ result() [1/2]
std::any xtd::forms::do_work_event_args::result |
( |
| ) |
const |
|
inline |
Gets a value that represents the result of an asynchronous operation.
- Returns
- A std::any representing the result of an asynchronous operation.
◆ result() [2/2]
void xtd::forms::do_work_event_args::result |
( |
std::any |
value | ) |
|
|
inline |
Sets a value that represents the result of an asynchronous operation.
- Parameters
-
value | A std::any representing the result of an asynchronous operation. |
The documentation for this class was generated from the following file: