EventHandlerExtensions Class

Defines extension methods related to event handlers.

Definition

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