Class ActivityTypeCreate
- Namespace
- Kentico.Xperience.Admin.DigitalMarketing.UIPages
- Assembly
- Kentico.Xperience.Admin.DigitalMarketing.dll
Activity creation page.
public sealed class ActivityTypeCreate : CreatePage<ActivityTypeInfo, ActivityTypeEditSection>, IPage
- Inheritance
-
objectActivityTypeCreate
- Implements
- Inherited Members
- Extension Methods
Constructors
ActivityTypeCreate(IFormComponentMapper, IFormDataBinder, IPageLinkGenerator)
Initializes an instance of the ActivityTypeCreate class.
public ActivityTypeCreate(IFormComponentMapper formComponentMapper, IFormDataBinder formDataBinder, IPageLinkGenerator pageLinkGenerator)
Parameters
formComponentMapper
IFormComponentMapperformDataBinder
IFormDataBinderpageLinkGenerator
IPageLinkGenerator
Methods
ConfigurePage()
Set up page's configuration. Configures UI page.
public override Task ConfigurePage()
Returns
- Task
FinalizeInfoObject(ActivityTypeInfo, IFormFieldValueProvider, CancellationToken)
Allows to modify values of infoObject
before validation and saving.
protected override Task FinalizeInfoObject(ActivityTypeInfo infoObject, IFormFieldValueProvider fieldValueProvider, CancellationToken cancellationToken)
Parameters
infoObject
ActivityTypeInfoInfo object to be set.
fieldValueProvider
IFormFieldValueProviderProvider of form field values.
cancellationToken
CancellationTokenThe cancellation instruction.
Returns
- Task