Table of Contents

Class ModuleCreate

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

Module creation page.

public sealed class ModuleCreate : CreatePage<ResourceInfo, ModuleEdit>, IPage
Inheritance
object
ModuleCreate
Implements
Inherited Members
Extension Methods

Constructors

ModuleCreate(IFormComponentMapper, IFormDataBinder, IPageLinkGenerator)

Initializes a new instance of the ModuleCreate class.

public ModuleCreate(IFormComponentMapper formComponentMapper, IFormDataBinder formDataBinder, IPageLinkGenerator pageLinkGenerator)

Parameters

formComponentMapper IFormComponentMapper
formDataBinder IFormDataBinder
pageLinkGenerator IPageLinkGenerator

Methods

ConfigurePage()

Set up page's configuration. Configures UI page.

public override Task ConfigurePage()

Returns

Task

GetFormItems()

Prepares form items for editing object of the specified ObjectType.

protected override Task<ICollection<IFormItem>> GetFormItems()

Returns

Task<ICollection<IFormItem>>

Returns the collection of form items.

GetSubmitSuccessResponse(ResourceInfo, ICollection<IFormItem>)

Response that has to be returned after successful form submission.

protected override Task<ICommandResponse> GetSubmitSuccessResponse(ResourceInfo savedInfoObject, ICollection<IFormItem> items)

Parameters

savedInfoObject ResourceInfo

Object info after persisting.

items ICollection<IFormItem>

Collection with updated form items.

Returns

Task<ICommandResponse>