6#include <xtd/event_args>
42 bool cancel() const noexcept {
return cancel_;}
43 void cancel(
bool value) {cancel_ = value;}
54 std::optional<xtd::ref<std::exception>> exception_;
Represent a polymorphic wrapper capable of holding any type.
Definition any_object.hpp:29
event_args()=default
Initializes a new instance of the event_args class.
Defines the base class for predefined exceptions in the xtd namespace.
Definition exception.hpp:30
xtd::reference_wrapper_object< type_t > ref
The xtd::ref object is a reference wrapper.
Definition ref.hpp:25
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8