Class DynamicEventManager
- Namespace
- Exiled.API.Features.DynamicEvents
- Assembly
- Exiled.API.dll
The class which handles all the multicast delegates.
public class DynamicEventManager : StaticActor, IEntity, IWorldSpace, IPosition, IRotation- Inheritance
- 
      
      
      
      
      
      DynamicEventManager
- Implements
- Inherited Members
- Extension Methods
Methods
BindAllFromTypeInstance(object)
Initializes all the dynamic handlers in the specified type instance.
public void BindAllFromTypeInstance(object obj)Parameters
- objobject
- The type instance. 
CreateFromTypeInstance(object)
public static void CreateFromTypeInstance(object obj)Parameters
- objobject
DestroyFromTypeInstance(object)
Unbinds all the dynamic handlers in the specified type instance.
public static void DestroyFromTypeInstance(object obj)Parameters
- objobject
- The type instance. 
InvokeSafely(FDelegate)
Executes all DynamicEventManager.FDelegate<T> listeners safely.
public void InvokeSafely(DynamicEventManager.FDelegate ev)Parameters
- evDynamicEventManager.FDelegate
- Source event. 
Exceptions
- ArgumentNullException
- Event is null. 
InvokeSafely<T>(FDelegate<T>, T)
Executes all DynamicEventManager.FDelegate<T> listeners safely.
public void InvokeSafely<T>(DynamicEventManager.FDelegate<T> ev, T arg) where T : EventArgsParameters
- evDynamicEventManager.FDelegate<T>
- Source event. 
- argT
- Event arg. 
Type Parameters
- T
- Event arg type. 
Exceptions
- ArgumentNullException
- Event or its arg is null. 
UnbindAllFromTypeInstance(object)
Unbinds all the dynamic handlers in the specified type instance.
public void UnbindAllFromTypeInstance(object obj)Parameters
- objobject
- The type instance.