Class HandlersExtensions
- Namespace
- CMS
- Assembly
- CMS.Base.dll
Extension methods.
[Obsolete("All class members are deprecated and the class will be removed.")]
[ObsoleteSince(30, 2)]
public static class HandlersExtensions
- Inheritance
-
objectHandlersExtensions
Methods
CanContinue(AbstractAdvancedHandler)
Checks whether the context of execution should continue.
[Obsolete("Start the event using AdvancedHandler<THandler, TArgs>.Start(TArgs) and use IAdvancedEventHandle<TArgs>.CanContinue instead.")]
[ObsoleteSince(30, 2)]
public static bool CanContinue(this AbstractAdvancedHandler handler)
Parameters
handler
AbstractAdvancedHandlerHandler to check
Returns
- bool
DontSupportCancel(AbstractAdvancedHandler)
Disables the ability to cancel continuation of the execution context.
[Obsolete("Start the event using AdvancedHandler<THandler, TArgs>.Start(TArgs) and use IAdvancedEventHandle<TArgs>.PreventCancellation() instead.")]
[ObsoleteSince(30, 2)]
public static void DontSupportCancel(this AbstractAdvancedHandler handler)
Parameters
handler
AbstractAdvancedHandlerHandler to modify
FinishEvent(AbstractAdvancedHandler)
Finishes the event and raises the After event actions.
[Obsolete("Start the event using AdvancedHandler<THandler, TArgs>.Start(TArgs) and use IAdvancedEventHandle<TArgs>.Finish() instead.")]
[ObsoleteSince(30, 2)]
public static void FinishEvent(this AbstractAdvancedHandler handler)
Parameters
handler
AbstractAdvancedHandlerHandler to finish