Table of Contents

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
object
RecipientListCreate
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 IFormComponentMapper
formDataBinder IFormDataBinder
pageLinkGenerator IPageLinkGenerator
emailConfigurationInfoProvider 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 ContactGroupInfo

Info object to be set.

fieldValueProvider IFormFieldValueProvider

Provider of form field values.

cancellationToken CancellationToken

The 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 ContactGroupInfo

Info object to be set.

fieldValueProvider IFormFieldValueProvider

Provider of form field values.

Returns

Task