Table of Contents

Class CreateFolderLanguageVariant

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

Page for creating a new folder language variant.

[UINavigation(false)]
public sealed class CreateFolderLanguageVariant : Page<CreateFolderLanguageVariantClientProperties>, IPage
Inheritance
object
CreateFolderLanguageVariant
Implements
Extension Methods

Constructors

CreateFolderLanguageVariant(IWebPageManagerFactory, IAuthenticatedUserAccessor, IPageLinkGenerator, IServiceProvider)

Initializes an instance of the CreateFolderLanguageVariant class.

public CreateFolderLanguageVariant(IWebPageManagerFactory webPageManagerFactory, IAuthenticatedUserAccessor authenticatedUserAccessor, IPageLinkGenerator pageLinkGenerator, IServiceProvider serviceProvider)

Parameters

webPageManagerFactory IWebPageManagerFactory
authenticatedUserAccessor IAuthenticatedUserAccessor
pageLinkGenerator IPageLinkGenerator
serviceProvider IServiceProvider

Properties

ApplicationIdentifier

Application identifier.

[PageParameter(typeof(WebPagesApplicationModelBinder), typeof(WebPagesApplication))]
public WebPagesApplicationUrlIdentifier ApplicationIdentifier { get; set; }

Property Value

WebPagesApplicationUrlIdentifier

WebPageIdentifier

Web page identifier composed from culture code and node ID.

[PageParameter(typeof(WebPageUrlIdentifierPageModelBinder), typeof(WebPageLayout))]
public WebPageUrlIdentifier WebPageIdentifier { get; set; }

Property Value

WebPageUrlIdentifier

Methods

ConfigurePage()

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

public override Task ConfigurePage()

Returns

Task

ConfigureTemplateProperties(CreateFolderLanguageVariantClientProperties)

Gets the object representing client side template properties.

public override Task<CreateFolderLanguageVariantClientProperties> ConfigureTemplateProperties(CreateFolderLanguageVariantClientProperties properties)

Parameters

properties CreateFolderLanguageVariantClientProperties

Initialized properties object.

Returns

Task<CreateFolderLanguageVariantClientProperties>

Save(FormSubmissionCommandArguments, CancellationToken)

Saves the translated folder.

public Task<ICommandResponse<CreateFolderLanguageVariantCreateCommandResult>> Save(FormSubmissionCommandArguments args, CancellationToken cancellationToken)

Parameters

args FormSubmissionCommandArguments
cancellationToken CancellationToken

Returns

Task<ICommandResponse<CreateFolderLanguageVariantCreateCommandResult>>

ValidatePage()

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

public override Task<PageValidationResult> ValidatePage()

Returns

Task<PageValidationResult>