Content Studio Web Content Management System
Assembly: EventHandlers.Spotlijster (in EventHandlers.Spotlijster.dll) Version: 1.0.0.0 (1.0.0.0)
Use this version of ActivateWithEptdocument when you test an event handler that derive from one of
the specialized classes for event handlers.
[This is preliminary documentation and is subject to change.]
Activates a Content Studio version 5.2 and earlier synchronous event handler with sample data generated for an ept document and the
TEventHandler type of event handler.
This handler must implement the ICSEventHandler and ISingleSynchronousHandler interfaces.
Namespace: ContentStudio.EventActions.SynchronousEventHandlers.Spotlijster
Assembly: EventHandlers.Spotlijster (in EventHandlers.Spotlijster.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public void ActivateWithEptdocument<TEventHandler>( TEventHandler handler, string customData, string eptContent ) where TEventHandler : class, ICSEventHandler, ISingleSynchronousHandler
Parameters
- handler
- Type: TEventHandler
The handler to activate. - customData
- Type: SystemString
The custom data you would like to test. Custom data is the data entered in the command field in the event actions dialog in the Content Studio administrative interface. - eptContent
- Type: SystemString
Custom ept data, can be null to generate sample data.
Type Parameters
- TEventHandler
- The type of event handler.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException |
Remarks
Note |
---|
Starting with Content Studio version 5.3 the ICSEventHandler2 interface is avaliable which provides more functionality. |
See Also