Class RecipientListCreate
- Namespace
- Kentico.Xperience.Admin.DigitalMarketing.UIPages
- Assembly
- Kentico.Xperience.Admin.DigitalMarketing.dll
Recipient list creation page.
public sealed class RecipientListCreate : CreatePage<ContactGroupInfo, RecipientListEditSection>, IPage
- Inheritance
-
objectRecipientListCreate
- Implements
- Inherited Members
- Extension Methods
Constructors
RecipientListCreate(IFormComponentMapper, IFormDataBinder, IPageLinkGenerator, IInfoProvider<EmailConfigurationInfo>)
Initializes an instance of the RecipientListCreate class.
public RecipientListCreate(IFormComponentMapper formComponentMapper, IFormDataBinder formDataBinder, IPageLinkGenerator pageLinkGenerator, IInfoProvider<EmailConfigurationInfo> emailConfigurationInfoProvider)
Parameters
formComponentMapper
IFormComponentMapperformDataBinder
IFormDataBinderpageLinkGenerator
IPageLinkGeneratoremailConfigurationInfoProvider
IInfoProvider<EmailConfigurationInfo>
Methods
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
GetFormItems()
Prepares form items for editing object of the specified ObjectType.
protected override Task<ICollection<IFormItem>> GetFormItems()
Returns
- Task<ICollection<IFormItem>>
Returns the collection of form items.
SetFormData(ContactGroupInfo, IFormFieldValueProvider)
Sets the infoObject
.
protected override Task SetFormData(ContactGroupInfo infoObject, IFormFieldValueProvider fieldValueProvider)
Parameters
infoObject
ContactGroupInfoInfo object to be set.
fieldValueProvider
IFormFieldValueProviderProvider of form field values.
Returns
- Task