Click or drag to resize
SimpleHandlerTHandler, TArgs Class
Generic handler class
Inheritance Hierarchy
SystemObject
  CMS.BaseAbstractHandler
    CMS.BaseSimpleHandlerTHandler, TArgs
      More...

Namespace: CMS.Base
Assembly: CMS.Base (in CMS.Base.dll) Version: 10.0.0
Syntax
C#
public abstract class SimpleHandler<THandler, TArgs> : AbstractHandler
where THandler : new(), SimpleHandler<THandler, TArgs>
where TArgs : new(), EventArgs

Type Parameters

THandler
TArgs

The SimpleHandlerTHandler, TArgs type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyControlRecursion
If true, the recursion control is enabled on this handler.
(Inherited from AbstractHandler.)
Public propertyDebug
If true, the handler is included in debug
(Inherited from AbstractHandler.)
Public propertyEventArguments
Handler arguments
Public propertyIsBound
Returns true if the handler has some events bound
Public propertyIsStatic
True, if the handler is a static handler
(Inherited from AbstractHandler.)
Public propertyName
Event name. The name serves for debug purposes and to uniquely identify the handler.
(Inherited from AbstractHandler.)
Public propertyOneTime
If true, this event can be executed only once. If the event was already executed, and new handler is added, it executes immediately.
(Inherited from AbstractHandler.)
Public propertyParent
Parent handler
Public propertyWasExecuted
Returns true if the event was already executed
(Inherited from AbstractHandler.)
Top
Methods
  NameDescription
Protected methodAddEventTHandler
Adds the event to the list
(Inherited from AbstractHandler.)
Protected methodAssignCurrentHandler
Assigns the current handler to the event arguments
(Inherited from AbstractHandler.)
Public methodClear
Clears all bound event handlers from the event and resets the number of executions of the event
(Overrides AbstractHandlerClear.)
Protected methodCountExecution
Counts the execution of the event
(Inherited from AbstractHandler.)
Public methodDispose
Disposes the object
(Inherited from AbstractHandler.)
Protected methodCheckBase
Checks if the handler is base handler instance, and fires an exception if not
(Inherited from AbstractHandler.)
Protected methodCheckEvent
Checks if the handler is event handler instance, and fires an exception if not
(Inherited from AbstractHandler.)
Protected methodRaiseTArgs
Raises the list of events
(Inherited from AbstractHandler.)
Protected methodRaiseExecute
Raises the execute event
Protected methodRemoveEventTHandler
Removes the event from the list
(Inherited from AbstractHandler.)
Public methodReset
Resets the number of executions of the event
(Inherited from AbstractHandler.)
Public methodSetParent
Sets the parent event of the event
(Overrides AbstractHandlerSetParent(AbstractHandler).)
Public methodStartEvent
Initiates the new handler context
Top
Events
  NameDescription
Public eventExecute
Raised before the event occurs
Top
See Also
Inheritance Hierarchy
SystemObject
  CMS.BaseAbstractHandler
    CMS.BaseSimpleHandlerTHandler, TArgs
      CMS.ActivitiesActivityFilteredOutHandler
      CMS.ActivitiesActivityProcessedInLogServiceHandler
      CMS.BaseDebugHandler
      CMS.BaseGetVaryByCustomStringHandler
      CMS.BaseSimpleHandler
      CMS.BaseSimpleHandlerTParameter
      CMS.BaseSimpleSystemHandler
      CMS.BaseSimpleThreadHandler
      CMS.BaseURLHandler
      CMS.CMSImportExportExportCanceledHandler
      CMS.CMSImportExportExportErrorHandler
      CMS.CMSImportExportExportGetSelectionWhereConditionHandler
      CMS.CMSImportExportGetBinaryDataSourcePathHandler
      CMS.CMSImportExportGetObjectTypeFolderHandler
      CMS.CMSImportExportGetObjectWhereConditionHandler
      CMS.CMSImportExportImportCanceledHandler
      CMS.CMSImportExportImportErrorHandler
      CMS.CMSImportExportLoadSelectionHandlerEventArgsType
      CMS.CMSImportExportSimpleDataImportHandler
      CMS.CMSImportExportSimpleImportHandler
      CMS.CMSImportExportSimpleImportHandlerParameterType
      CMS.CMSImportExportSingleExportSelectionHandler
      CMS.ContactManagementContactInfosDeletedHandler
      CMS.ContactManagementDuplicateActivitiesForContactHandler
      CMS.ContactManagement.InternalContactMergeHandler
      CMS.DataEngineColumnsTranslationHandler
      CMS.DataEngineSimpleObjectHandler
      CMS.DocumentEngineDocumentAuthorizationHandler
      CMS.DocumentEngineDocumentMarkHandler
      CMS.DocumentEngineDocumentRatingHandler
      CMS.DocumentEngineDocumentSearchHandler
      CMS.DocumentEngineSimpleDocumentImportHandler
      CMS.DocumentEngineSimpleWorkflowHandler
      CMS.DocumentEngine.Web.UITransformationEvalHandler
      CMS.EcommerceNewOrderCreatedHandler
      CMS.EcommerceOrderPaidHandler
      CMS.LocalizationLocalizationHandler
      CMS.MembershipAuthenticationHandler
      CMS.MembershipAuthenticationRequestHandler
      CMS.MembershipAuthorizationHandler
      CMS.MembershipSessionHandler
      CMS.NewslettersLinksHandler
      CMS.NewslettersObtainSubscriberAddressesHandler
      CMS.NewslettersUnsubscriptionHandler
      CMS.PortalEngineDeleteWidgetVariantsHandler
      CMS.PortalEngineGetVariantHandler
      CMS.PortalEngineGetVariantsHandler
      CMS.PortalEngineMVTVariantsEnabledHandler
      CMS.PortalEngineSetVariantHandler
      CMS.PortalEngineWebPartLoadVariantHandler
      CMS.SynchronizationStagingChildProcessingTypeHandler
      CMS.TranslationServicesTranslationCultureMappingHandler
      CMS.UIControlsUniTreeGetImageHandler
      CMS.URLRewritingEngineProcessABTestHandler
      CMS.URLRewritingEngineURLRewriterPageNotFoundHandler
      CMS.WebAnalyticsCampaignLaunchedHandler
      CMS.WebAnalyticsCampaignUTMChangedHandler