Class ChannelCreate
Channel creation page.
public sealed class ChannelCreate : CreatePage<ChannelInfo, ChannelEdit>, IPage
- Inheritance
-
objectChannelCreate
- Implements
- Inherited Members
- Extension Methods
Constructors
ChannelCreate(IFormComponentMapper, IFormDataBinder, IPageLinkGenerator, IChannelManager, IEnumerable<IChannelSpecificFormItemsProcessor>)
Initializes an instance of the ChannelCreate class.
public ChannelCreate(IFormComponentMapper formComponentMapper, IFormDataBinder formDataBinder, IPageLinkGenerator pageLinkGenerator, IChannelManager channelManager, IEnumerable<IChannelSpecificFormItemsProcessor> channelSpecificFieldProcessors)
Parameters
formComponentMapper
IFormComponentMapperformDataBinder
IFormDataBinderpageLinkGenerator
IPageLinkGeneratorchannelManager
IChannelManagerchannelSpecificFieldProcessors
IEnumerable<IChannelSpecificFormItemsProcessor>
Properties
RefetchAll
Indicates whether to refetch all templates on edit.
protected override bool RefetchAll { get; }
Property Value
- bool
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.
SetFormData(ChannelInfo, IFormFieldValueProvider)
Sets the infoObject
.
protected override Task SetFormData(ChannelInfo infoObject, IFormFieldValueProvider fieldValueProvider)
Parameters
infoObject
ChannelInfoInfo object to be set.
fieldValueProvider
IFormFieldValueProviderProvider of form field values.
Returns
- Task