Class ClassCreate
Alternative form create page.
public sealed class ClassCreate : CreatePage<DataClassInfo, ClassEditSection>, IPage
- Inheritance
-
objectClassCreate
- Implements
- Inherited Members
- Extension Methods
Constructors
ClassCreate(IFormComponentMapper, IFormDataBinder, IPageLinkGenerator)
Initializes a new instance of the ClassEdit class.
public ClassCreate(IFormComponentMapper formComponentMapper, IFormDataBinder formDataBinder, IPageLinkGenerator pageLinkGenerator)
Parameters
formComponentMapper
IFormComponentMapperformDataBinder
IFormDataBinderpageLinkGenerator
IPageLinkGenerator
Properties
ModuleId
Module id.
[PageParameter(typeof(IntPageModelBinder), typeof(ModuleEditSection))]
public int ModuleId { get; set; }
Property Value
- int
Methods
ConfigurePage()
Set up page's configuration. Configures UI page.
public override Task ConfigurePage()
Returns
- Task
FinalizeInfoObject(DataClassInfo, IFormFieldValueProvider, CancellationToken)
Allows to modify values of infoObject
before validation and saving.
protected override Task FinalizeInfoObject(DataClassInfo infoObject, IFormFieldValueProvider fieldValueProvider, CancellationToken cancellationToken)
Parameters
infoObject
DataClassInfoInfo object to be set.
fieldValueProvider
IFormFieldValueProviderProvider of form field values.
cancellationToken
CancellationTokenThe cancellation instruction.
Returns
- Task