Class CreateFolderLanguageVariant
Page for creating a new folder language variant.
[UINavigation(false)]
public sealed class CreateFolderLanguageVariant : Page<CreateFolderLanguageVariantClientProperties>, IPage
- Inheritance
-
objectCreateFolderLanguageVariant
- 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
IWebPageManagerFactoryauthenticatedUserAccessor
IAuthenticatedUserAccessorpageLinkGenerator
IPageLinkGeneratorserviceProvider
IServiceProvider
Properties
ApplicationIdentifier
Application identifier.
[PageParameter(typeof(WebPagesApplicationModelBinder), typeof(WebPagesApplication))]
public WebPagesApplicationUrlIdentifier ApplicationIdentifier { get; set; }
Property Value
WebPageIdentifier
Web page identifier composed from culture code and node ID.
[PageParameter(typeof(WebPageUrlIdentifierPageModelBinder), typeof(WebPageLayout))]
public WebPageUrlIdentifier WebPageIdentifier { 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
ConfigureTemplateProperties(CreateFolderLanguageVariantClientProperties)
Gets the object representing client side template properties.
public override Task<CreateFolderLanguageVariantClientProperties> ConfigureTemplateProperties(CreateFolderLanguageVariantClientProperties properties)
Parameters
properties
CreateFolderLanguageVariantClientPropertiesInitialized properties object.
Returns
Save(FormSubmissionCommandArguments, CancellationToken)
Saves the translated folder.
public Task<ICommandResponse<CreateFolderLanguageVariantCreateCommandResult>> Save(FormSubmissionCommandArguments args, CancellationToken cancellationToken)
Parameters
args
FormSubmissionCommandArgumentscancellationToken
CancellationToken
Returns
ValidatePage()
Validates the page state prior invocation of the ConfigurePage() method.
public override Task<PageValidationResult> ValidatePage()
Returns
- Task<PageValidationResult>