Class CMSEventArgs
Base class for the CMS event arguments
public class CMSEventArgs : EventArgs
- Inheritance
-
objectEventArgsCMSEventArgs
- Derived
- Extension Methods
Constructors
CMSEventArgs()
Constructor
public CMSEventArgs()
Properties
CurrentHandler
Currently executing handler
public AbstractHandler CurrentHandler { get; }
Property Value
Methods
CallOnDispose(Action)
Adds the given action to the list of actions called when the handler object is disposed
[Obsolete("Method was not intended for public use and will be removed.")]
public CMSEventArgs CallOnDispose(Action method)
Parameters
methodActionMethod to call
Returns
CallWhenFinished(Action)
Adds the given action to be called when the handler finishes
public CMSEventArgs CallWhenFinished(Action method)
Parameters
methodActionAction to call
Returns
Cancel()
Cancels the current handler execution
public void Cancel()
Dispose()
Make sure the objects get disposed
public void Dispose()
Using(IDisposable)
Adds the given object to the list of object that get disposed when the handler object is disposed
[Obsolete("Method was not intended for public use and will be removed.")]
public CMSEventArgs Using(IDisposable obj)
Parameters
objIDisposableObject to dispose