EventHandlerExtensions Class

Defines extension methods related to event handlers.

Definition

Namespace: Gemstone.EventHandlerExtensions
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.155 -- Release Build+a7d8ba87ff92af3282fc68a6fbfd37a854100b44
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