EventListRegisterForEventArgsType Method (String, String, EventHandlerArgsType) |
Registers the given event handler for an event
Namespace: CMS.BaseAssembly: CMS.Base (in CMS.Base.dll) Version: 10.0.0
Syntaxpublic void RegisterForEvent<ArgsType>(
string eventName,
string actionName,
EventHandler<ArgsType> handler
)
where ArgsType : EventArgs
Parameters
- eventName
- Type: SystemString
Event name - actionName
- Type: SystemString
Action name - handler
- Type: SystemEventHandlerArgsType
Handler method
Type Parameters
- ArgsType
See Also