Class MediaLibraryCreate
Media library creation page.
public sealed class MediaLibraryCreate : CreatePage<MediaLibraryInfo, MediaLibraryEditSection>, IPage
- Inheritance
-
objectMediaLibraryCreate
- Implements
- Inherited Members
- Extension Methods
Constructors
MediaLibraryCreate(IFormComponentMapper, IFormDataBinder, IPageLinkGenerator, IAssetFolderNameValidator)
Initializes an instance of the MediaLibraryCreate class.
public MediaLibraryCreate(IFormComponentMapper formComponentMapper, IFormDataBinder formDataBinder, IPageLinkGenerator pageLinkGenerator, IAssetFolderNameValidator assetFolderNameValidator)
Parameters
formComponentMapper
IFormComponentMapperformDataBinder
IFormDataBinderpageLinkGenerator
IPageLinkGeneratorassetFolderNameValidator
IAssetFolderNameValidator
Methods
ConfigurePage()
Set up page's configuration. Configures UI page.
public override Task ConfigurePage()
Returns
- Task
FinalizeInfoObject(MediaLibraryInfo, IFormFieldValueProvider, CancellationToken)
Allows to modify values of infoObject
before validation and saving.
protected override Task FinalizeInfoObject(MediaLibraryInfo infoObject, IFormFieldValueProvider fieldValueProvider, CancellationToken cancellationToken)
Parameters
infoObject
MediaLibraryInfoInfo object to be set.
fieldValueProvider
IFormFieldValueProviderProvider of form field values.
cancellationToken
CancellationTokenThe cancellation instruction.
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.