Click or drag to resize
EventManagerRegisterListener Method (Object, EventManagerEventDelegate)
Registers the specified delegate for events of the specified type.

Namespace: Slash.ECS.Events
Assembly: Slash.ECS (in Slash.ECS.dll) Version: 1.0.6018.40178
Syntax
public void RegisterListener(
	Object eventType,
	EventManagerEventDelegate callback
)

Parameters

eventType
Type: SystemObject
Type of the event the caller is interested in.
callback
Type: Slash.ECS.EventsEventManagerEventDelegate
Delegate to invoke when specified type occurred.
Exceptions
ExceptionCondition
ArgumentNullExceptionSpecified delegate is null.
ArgumentNullExceptionSpecified event type is null.
See Also