EventHandlerExtensions Class

Defines extension methods related to event handlers.

Definition

Namespace: Gemstone.EventHandlerExtensions
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.110 -- Release Build+3e0464f4461df4d3e1175b13966eb47ff832554d
public static class EventHandlerExtensions
Inheritance
Object    EventHandlerExtensions

Methods

GetHandlerNameTEventHandler Gets the method name attached to an event handler.
SafeInvokeTEventHandler, TEventArgs(TEventHandler, Object, TEventArgs, Boolean) Safely invokes event propagation, continuing even if an attached user handler throws an exception.
SafeInvokeTEventHandler, TEventArgs(TEventHandler, ActionException, Delegate, Object, TEventArgs, Boolean) Safely invokes event propagation with custom exception handler that accepts user handler delegate, continuing even if an attached user handler throws an exception.
SafeInvokeTEventHandler, TEventArgs(TEventHandler, ActionException, Object, TEventArgs, Boolean) Safely invokes event propagation with custom exception handler, continuing even if an attached user handler throws an exception.
SafeInvokeTEventHandler, TEventArgs(TEventHandler, Object, ActionException, Delegate, Object, TEventArgs, Boolean) Safely invokes event propagation with custom event lock and exception handler that accepts user handler delegate, continuing even if an attached user handler throws an exception.
SafeInvokeTEventHandler, TEventArgs(TEventHandler, Object, ActionException, Object, TEventArgs, Boolean) Safely invokes event propagation with custom exception handler, continuing even if an attached user handler throws an exception.
SafeInvokeAsyncTEventHandler, TEventArgs(TEventHandler, Object, TEventArgs, Boolean) Safely invokes event propagation asynchronously, continuing even if an attached user handler throws an exception.
SafeInvokeAsyncTEventHandler, TEventArgs(TEventHandler, ActionException, Delegate, Object, TEventArgs, Boolean) Safely invokes event propagation asynchronously with custom exception handler that accepts user handler delegate, continuing even if an attached user handler throws an exception.
SafeInvokeAsyncTEventHandler, TEventArgs(TEventHandler, ActionException, Object, TEventArgs, Boolean) Safely invokes event propagation asynchronously with custom exception handler, continuing even if an attached user handler throws an exception.
SafeInvokeAsyncTEventHandler, TEventArgs(TEventHandler, Object, ActionException, Delegate, Object, TEventArgs, Boolean) Safely invokes event propagation asynchronously with custom event lock and exception handler that accepts user handler delegate, continuing even if an attached user handler throws an exception.
SafeInvokeAsyncTEventHandler, TEventArgs(TEventHandler, Object, ActionException, Object, TEventArgs, Boolean) Safely invokes event propagation asynchronously with custom exception handler, continuing even if an attached user handler throws an exception.

See Also