Class AddonInvoker<T>
Base class to wrap action execution and notify to IAddon objects with specified type.
Inheritance
System.Object
AddonInvoker<T>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: DevZest.Data.Addons
Assembly: DevZest.Data.dll
Syntax
public abstract class AddonInvoker<T> : AddonInvoker where T : class, IAddon
Type Parameters
Name | Description |
---|---|
T | The implementation type of IAddon objects, which receive the notification of the action execution. |
Constructors
Name | Description |
---|---|
AddonInvoker(AddonBag) | Initializes a new instance of the AddonInvoker<T> class. |
Methods
Name | Description |
---|---|
Invoke(Action, Action<T>, Action<T>) | Executes the action and notifies the addon objects. |
InvokeAsync(Task, Action<T>, Action<T>) | Executes the action asynchronously and notifies the addon objects. |