Class ObjectHandler
- Namespace
- CMS.DataEngine
- Assembly
- CMS.DataEngine.dll
Object handler
public class ObjectHandler : AdvancedHandler<ObjectHandler, ObjectEventArgs>, IRecursionControlHandler<ObjectEventArgs>
- Inheritance
-
objectObjectHandler
- Implements
- Inherited Members
- Extension Methods
Constructors
ObjectHandler()
Constructor
public ObjectHandler()
ObjectHandler(ObjectHandler)
Constructor
public ObjectHandler(ObjectHandler parentHandler)
Parameters
parentHandler
ObjectHandlerParent handler
Methods
GetRecursionKey(ObjectEventArgs)
Gets the recursion key of the class to identify recursion
public string GetRecursionKey(ObjectEventArgs e)
Parameters
Returns
- string
Start(BaseInfo)
Commences the event by invoking the registered Before event handlers. Returns a handle for completing the event.
public IAdvancedEventHandle<ObjectEventArgs> Start(BaseInfo obj)
Parameters
obj
BaseInfoHandled object.
Returns
- IAdvancedEventHandle<ObjectEventArgs>
Returns a handle for completing the event.
StartEvent(BaseInfo)
Initiates the event handling
[Obsolete("Use Start(BaseInfo) instead.")]
[ObsoleteSince(30, 2)]
public ObjectHandler StartEvent(BaseInfo obj)
Parameters
obj
BaseInfoHandled object