Table of Contents

Delegate ConditionalEventBase<TEvent, TArgs>.ConditionFunction

Namespace
CMS.Base
Assembly
CMS.Base.dll

Delegate for the handler condition

public delegate bool ConditionalEventBase<TEvent, TArgs>.ConditionFunction(object sender, TArgs args)

Parameters

sender object

Sender

args TArgs

Event arguments

Returns

bool
Delegate for the handler condition
Extension Methods

Constructors

ConditionFunction(object, nint)

public ConditionFunction(object @object, nint method)

Parameters

object object
method nint

Methods

BeginInvoke(object, TArgs, AsyncCallback, object)

public virtual IAsyncResult BeginInvoke(object sender, TArgs args, AsyncCallback callback, object @object)

Parameters

sender object
args TArgs
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(IAsyncResult)

public virtual bool EndInvoke(IAsyncResult result)

Parameters

result IAsyncResult

Returns

bool

Invoke(object, TArgs)

public virtual bool Invoke(object sender, TArgs args)

Parameters

sender object
args TArgs

Returns

bool