Table of Contents

Class ContactGroupContactList

Namespace
Kentico.Xperience.Admin.DigitalMarketing.UIPages
Assembly
Kentico.Xperience.Admin.DigitalMarketing.dll

Contact group contacts listing page.

public sealed class ContactGroupContactList : ListingPage, IPage
Inheritance
object
ContactGroupContactList
Implements
Inherited Members
Extension Methods

Constructors

ContactGroupContactList(IPageLinkGenerator, IInfoProvider<ContactGroupMemberInfo>, IInfoProvider<ContactGroupInfo>)

Initializes an instance of the ContactGroupContactList class.

public ContactGroupContactList(IPageLinkGenerator pageLinkGenerator, IInfoProvider<ContactGroupMemberInfo> contactGroupMemberInfoProvider, IInfoProvider<ContactGroupInfo> contactGroupInfoProvider)

Parameters

pageLinkGenerator IPageLinkGenerator
contactGroupMemberInfoProvider IInfoProvider<ContactGroupMemberInfo>
contactGroupInfoProvider IInfoProvider<ContactGroupInfo>

Properties

ObjectId

ID of the contact group.

[PageParameter(typeof(IntPageModelBinder))]
public int ObjectId { get; set; }

Property Value

int

ObjectType

Type of the info objects that are listed. Corresponds to the OBJECT_TYPE property of the info object or PredefinedObjectType.

protected override string ObjectType { get; }

Property Value

string

Methods

ConfigurePage()

Allows configure and share page specific values prior invocation of the ConfigureTemplateProperties(TClientProperties) or command method.

public override Task ConfigurePage()

Returns

Task

RedirectToContactDetail(int)

Redirects to the contact detail.

public Task<ICommandResponse> RedirectToContactDetail(int id)

Parameters

id int

Id of contact in contactGroup - contact relation.

Returns

Task<ICommandResponse>

ValidatePage()

Validates the page state prior invocation of the ConfigurePage() method.

public override Task<PageValidationResult> ValidatePage()

Returns

Task<PageValidationResult>