Class SimpleHandler<TParameter>
Represents a single-parameter event invoking the registered Execute handlers.
public class SimpleHandler<TParameter> : SimpleHandler<SimpleHandler<TParameter>, CMSEventArgs<TParameter>>
Type Parameters
TParameter
Type of the event parameter.
- Inheritance
-
objectSimpleHandler<TParameter>
- Inherited Members
- Extension Methods
Methods
Start(TParameter)
Invokes the registered Execute event handlers.
public void Start(TParameter obj)
Parameters
obj
TParameterArgument to be passed to registered event handlers.
Exceptions
- NotSupportedException
Thrown when the event is a one-time only event and has already been invoked.
StartEvent(TParameter)
Initiates the event handling
[Obsolete("Use Start(TParameter) instead.")]
public CMSEventArgs<TParameter> StartEvent(TParameter obj)
Parameters
obj
TParameterHandled object
Returns
- CMSEventArgs<TParameter>