Class ContentItemUsageChannels
Content item usage in channels page.
public sealed class ContentItemUsageChannels : ListingPage, IPage
- Inheritance
-
objectContentItemUsageChannels
- 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
IPageLinkGeneratorcontentLanguageRetriever
IContentLanguageRetriever
Properties
ContentLanguageIdentifier
Content language identifier.
[PageParameter(typeof(ContentLanguageModelBinder), typeof(ContentHubContentLanguage))]
public ContentLanguageUrlIdentifier ContentLanguageIdentifier { get; set; }
Property Value
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
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
IDataContainerListing 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
LoadDataSettingsLoad data settings.
cancellationToken
CancellationTokenCancellation token.
Returns
- Task<LoadDataResult>