Table of Contents

Class ContentItemUsageChannels

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

Content item usage in channels page.

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

Constructors

ContentItemUsageChannels(IPageLinkGenerator, IContentLanguageRetriever)

Initializes a new instance of the ContentItemUsageChannels class.

public ContentItemUsageChannels(IPageLinkGenerator pageLinkGenerator, IContentLanguageRetriever contentLanguageRetriever)

Parameters

pageLinkGenerator IPageLinkGenerator
contentLanguageRetriever IContentLanguageRetriever

Properties

ContentLanguageIdentifier

Content language identifier.

[PageParameter(typeof(ContentLanguageModelBinder), typeof(ContentHubContentLanguage))]
public ContentLanguageUrlIdentifier ContentLanguageIdentifier { get; set; }

Property Value

ContentLanguageUrlIdentifier

ItemID

Item ID.

[PageParameter(typeof(IntPageModelBinder), typeof(ContentItemEditSection))]
public int ItemID { 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

WorkspaceIdentifier

Workspace parameters.

[PageParameter(typeof(WorkspaceModelBinder), typeof(ContentHubWorkspace))]
public WorkspaceUrlIdentifier WorkspaceIdentifier { get; set; }

Property Value

WorkspaceUrlIdentifier

Methods

ConfigurePage()

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

public override Task ConfigurePage()

Returns

Task

GetIdentifier(IDataContainer)

Gets the identifier for listing item.

protected override object GetIdentifier(IDataContainer dataRecord)

Parameters

dataRecord IDataContainer

Listing item.

Returns

object

LoadData(LoadDataSettings, CancellationToken)

Returns LoadDataResult containing data and the number of total items.

protected override Task<LoadDataResult> LoadData(LoadDataSettings settings, CancellationToken cancellationToken)

Parameters

settings LoadDataSettings

Load data settings.

cancellationToken CancellationToken

Cancellation token.

Returns

Task<LoadDataResult>