OpenMod Docs OpenMod Docs
OpenMod Docs OpenMod Docs
OpenMod .NET Plugin Framework.

Class BasicCancellableEvent

A basic cancellable event that does not need a separate class

Inheritance
System.Object
EventBase
BasicCancellableEvent
Implements
ICancellableEvent
IEvent
Inherited Members
EventBase.Name
EventBase.Data
Namespace: OpenMod.Core.Eventing
Assembly: OpenMod.Core.dll
Syntax
public sealed class BasicCancellableEvent : EventBase, ICancellableEvent, IEvent

Constructors

| Improve this Doc View Source

BasicCancellableEvent(String)

Declaration
public BasicCancellableEvent(string name)
Parameters
Type Name Description
System.String name

Properties

| Improve this Doc View Source

Arguments

Declaration
public override Dictionary<string, object> Arguments { get; }
Property Value
Type Description
Dictionary<System.String, System.Object>
Overrides
EventBase.Arguments
| Improve this Doc View Source

IsCancelled

Declaration
public bool IsCancelled { get; set; }
Property Value
Type Description
System.Boolean

Implements

ICancellableEvent
IEvent

Extension Methods

DisposeHelper.DisposeSyncOrAsync(Object)