Click or drag to resize
IActivityInitializer Interface
Provides possibility to initialize activity.

Namespace: CMS.Activities
Assembly: CMS.Activities (in CMS.Activities.dll) Version: 12.0.0
Syntax
C#
public interface IActivityInitializer

The IActivityInitializer type exposes the following members.

Properties
  NameDescription
Public propertyActivityType
Activity type
Public propertySettingsKeyName
Activity settings key name, used to check whether activity logging is enabled.
Top
Methods
  NameDescription
Public methodInitialize
Initializes IActivityInfo properties.
Top
Extension Methods
  NameDescription
Public Extension MethodWithCampaign
Extends the provided activityInitializer with campaign.
(Defined by ActivityInitializerExtensions.)
Public Extension MethodWithContactId
Extends the provided activityInitializer with contactId.
(Defined by ActivityInitializerExtensions.)
Public Extension MethodWithSiteId
Extends the provided activityInitializer with siteId.
(Defined by ActivityInitializerExtensions.)
Public Extension MethodWithUrl
Extends the provided activityInitializer with url.
(Defined by ActivityInitializerExtensions.)
Top
See Also