Class ContentLanguageCreate
Language creation page
public sealed class ContentLanguageCreate : CreatePage<ContentLanguageInfo, ContentLanguageEdit>, IPage
- Inheritance
-
objectContentLanguageCreate
- Implements
- Inherited Members
- Extension Methods
Constructors
ContentLanguageCreate(IFormComponentMapper, IFormDataBinder, IPageLinkGenerator, IContentLanguageRetriever)
Initializes an instance of the ContentLanguageCreate class.
public ContentLanguageCreate(IFormComponentMapper formComponentMapper, IFormDataBinder formDataBinder, IPageLinkGenerator pageLinkGenerator, IContentLanguageRetriever contentLanguageRetriever)
Parameters
formComponentMapper
IFormComponentMapperformDataBinder
IFormDataBinderpageLinkGenerator
IPageLinkGeneratorcontentLanguageRetriever
IContentLanguageRetriever
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.
GetFormItemsClientProperties()
Returns properties describing client form components for editing object.
protected override Task<IEnumerable<IFormItemClientProperties>> GetFormItemsClientProperties()
Returns
- Task<IEnumerable<IFormItemClientProperties>>
Exceptions
- InvalidOperationException
Thrown when object instance is null or data class info for ObjectType was not found.
SetFormData(ContentLanguageInfo, IFormFieldValueProvider)
Sets the infoObject
.
protected override Task SetFormData(ContentLanguageInfo infoObject, IFormFieldValueProvider fieldValueProvider)
Parameters
infoObject
ContentLanguageInfoInfo object to be set.
fieldValueProvider
IFormFieldValueProviderProvider of form field values.
Returns
- Task