Class TDynamicDelegate<T>
The TDynamicDelegate<T> allows user-defined delegate routes bound to an System.Object reference.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Exiled.API.Features.DynamicEvents
Assembly: Exiled.API.dll
Syntax
public class TDynamicDelegate<T> : TypeCastObject<DynamicEventDispatcher>
Type Parameters
Name | Description |
---|---|
T | The delegate type parameter. |
Constructors
| Improve this Doc View SourceTDynamicDelegate()
Initializes a new instance of the TDynamicDelegate<T> class.
Declaration
public TDynamicDelegate()
TDynamicDelegate(Object, Action<T>)
Initializes a new instance of the TDynamicDelegate<T> class.
Declaration
public TDynamicDelegate(object target, Action<T> delegate)
Parameters
Type | Name | Description |
---|---|---|
System.Object | target | |
System.Action<T> | delegate |
Properties
| Improve this Doc View SourceDelegate
Gets the TDynamicDelegate<T>'s delegate.
Declaration
public Action<T> Delegate { get; }
Property Value
Type | Description |
---|---|
System.Action<T> |
Target
Gets the TDynamicDelegate<T>'s target.
Declaration
public object Target { get; }
Property Value
Type | Description |
---|---|
System.Object |