Class TDynamicDelegate<T>
- Namespace
- Exiled.API.Features.DynamicEvents
- Assembly
- Exiled.API.dll
The TDynamicDelegate<T> allows user-defined delegate routes bound to an object reference.
public class TDynamicDelegate<T> : TypeCastObject<DynamicEventDispatcher>
Type Parameters
T
The delegate type parameter.
- Inheritance
-
TDynamicDelegate<T>
- Inherited Members
- Extension Methods
Constructors
TDynamicDelegate()
Initializes a new instance of the TDynamicDelegate<T> class.
public TDynamicDelegate()
TDynamicDelegate(object, Action<T>)
Initializes a new instance of the TDynamicDelegate<T> class.
public TDynamicDelegate(object target, Action<T> @delegate)
Parameters
Properties
Delegate
Gets the TDynamicDelegate<T>'s delegate.
public Action<T> Delegate { get; }
Property Value
- Action<T>
Target
Gets the TDynamicDelegate<T>'s target.
public object Target { get; }