EventHandlerExtensions Class

Defines extension methods related to event handlers.

Definition

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