Table of Contents

Class CancelableAsyncEvent

Namespace
MonkeyLoader.Events
Assembly
MonkeyLoader.dll

Marks the base for all cancelable asynchronous events used by ICancelableAsyncEventHandler<TEvent>s.

public abstract class CancelableAsyncEvent : AsyncEvent
Inheritance
CancelableAsyncEvent
Inherited Members

Constructors

CancelableAsyncEvent()

Initializes this cancelable asynchronous event.

protected CancelableAsyncEvent()

Properties

Canceled

Gets or sets whether this event has been canceled by a previous event handler.

public bool Canceled { get; set; }

Property Value

bool

Always true.

Remarks

When this property is true, the default action should be prevented from happening.

IsCancelable

Gets whether this event can be canceled.

public override sealed bool IsCancelable { get; }

Property Value

bool

true if this event implements MonkeyLoader.Events.ICancelableEvent; otherwise, false.