EventHandlerExtensions Class

Defines extension methods related to event handlers.

Definition

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