Table of Contents

Class SimpleHandler<TParameter>

Namespace
CMS.Base
Assembly
CMS.Base.dll

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
object
SimpleHandler<SimpleHandler<TParameter>, CMSEventArgs<TParameter>>
SimpleHandler<TParameter>
Inherited Members
Extension Methods

Methods

Start(TParameter)

Invokes the registered Execute event handlers.

public void Start(TParameter obj)

Parameters

obj TParameter

Argument 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 TParameter

Handled object

Returns

CMSEventArgs<TParameter>