Table of Contents

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
object
ContactGroupCreate
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 IFormComponentMapper
formDataBinder IFormDataBinder
pageLinkGenerator IPageLinkGenerator
commandProcessor IConditionParameterCommandProcessor

Methods

ComponentCommand(FormComponentCommandModel, CancellationToken)

Handles the form component command invocation.

public override Task<object> ComponentCommand(FormComponentCommandModel commandModel, CancellationToken cancellationToken)

Parameters

commandModel FormComponentCommandModel

Form component command arguments.

cancellationToken CancellationToken

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

Info object to be set.

fieldValueProvider IFormFieldValueProvider

Provider of form field values.

cancellationToken CancellationToken

The cancellation instruction.

Returns

Task

SetFormData(ContactGroupInfo, IFormFieldValueProvider)

Sets the infoObject.

protected override Task SetFormData(ContactGroupInfo infoObject, IFormFieldValueProvider fieldValueProvider)

Parameters

infoObject ContactGroupInfo
fieldValueProvider IFormFieldValueProvider

Returns

Task