Member of ML.SDK.MLEvents
EventToken MLEvents.AddHandler(string name, Action
Method | Static
EventToken MLEvents.AddHandler(string name, Action<[Object](https://learn.microsoft.com/en-us/dotnet/api/system.object?view=netframework-4.5)[]>
handler)
static EventToken MLEvents.AddHandler(string name, Action`<Object[]>` handler);
Parameters
Parameter | Type | Description |
---|---|---|
name | string | The name of the event. This is a global name. |
handler | Action<[Object](https://learn.microsoft.com/en-us/dotnet/api/system.object?view=netframework-4.5)[]> | The handler function to be registered. |
Returns
A unique token assigned for the handler
Summary
Registers a global event handler for given name with given hander function.