Class ContactGroupCreate
- Namespace
- Kentico.Xperience.Admin.DigitalMarketing.UIPages
- Assembly
- Kentico.Xperience.Admin.DigitalMarketing.dll
Contact group creation page.
public sealed class ContactGroupCreate : CreatePage<ContactGroupInfo, ContactGroupEditSection>, IPage
- Inheritance
-
objectContactGroupCreate
- Implements
- Inherited Members
- Extension Methods
Constructors
ContactGroupCreate(IFormComponentMapper, IFormDataBinder, IPageLinkGenerator, IConditionParameterCommandProcessor)
Initializes an instance of the ContactGroupCreate class.
public ContactGroupCreate(IFormComponentMapper formComponentMapper, IFormDataBinder formDataBinder, IPageLinkGenerator pageLinkGenerator, IConditionParameterCommandProcessor commandProcessor)
Parameters
formComponentMapper
IFormComponentMapperformDataBinder
IFormDataBinderpageLinkGenerator
IPageLinkGeneratorcommandProcessor
IConditionParameterCommandProcessor
Methods
ComponentCommand(FormComponentCommandModel, CancellationToken)
Handles the form component command invocation.
public override Task<object> ComponentCommand(FormComponentCommandModel commandModel, CancellationToken cancellationToken)
Parameters
commandModel
FormComponentCommandModelForm component command arguments.
cancellationToken
CancellationTokenThe cancellation instruction.
Returns
- Task<object>
Returns the form component command result.
ConfigurePage()
Set up page's configuration. Configures UI page.
public override Task ConfigurePage()
Returns
- Task
FinalizeInfoObject(ContactGroupInfo, IFormFieldValueProvider, CancellationToken)
Allows to modify values of infoObject
before validation and saving.
protected override Task FinalizeInfoObject(ContactGroupInfo infoObject, IFormFieldValueProvider fieldValueProvider, CancellationToken cancellationToken)
Parameters
infoObject
ContactGroupInfoInfo object to be set.
fieldValueProvider
IFormFieldValueProviderProvider of form field values.
cancellationToken
CancellationTokenThe cancellation instruction.
Returns
- Task
SetFormData(ContactGroupInfo, IFormFieldValueProvider)
Sets the infoObject
.
protected override Task SetFormData(ContactGroupInfo infoObject, IFormFieldValueProvider fieldValueProvider)
Parameters
infoObject
ContactGroupInfofieldValueProvider
IFormFieldValueProvider
Returns
- Task