Class EventUtils
Inheritance
System.Object
EventUtils
Namespace: Eco.Shared.Utils
Assembly: Eco.Shared.dll
Syntax
public static class EventUtils : Object
Methods
RaiseEvent<TEventArgs>(Object, String, TEventArgs)
Allows raising an event on object from an external party, via reflection.
Declaration
public static void RaiseEvent<TEventArgs>(this object source, string eventName, TEventArgs eventArgs)
where TEventArgs : EventArgs
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | source | |
| System.String | eventName | |
| TEventArgs | eventArgs |
Type Parameters
| Name | Description |
|---|---|
| TEventArgs |