Class TaxonomyEdit
Page for editing a taxonomy.
[UINavigation(false)]
[UIBreadcrumbs(false)]
public sealed class TaxonomyEdit : InfoEditPage<TaxonomyInfo>, IPage
- Inheritance
-
objectTaxonomyEdit
- Implements
- Inherited Members
- Extension Methods
Constructors
TaxonomyEdit(IFormComponentMapper, IFormDataBinder, IContentLanguageRetriever)
Initializes an instance of the TaxonomyEdit class.
public TaxonomyEdit(IFormComponentMapper formComponentMapper, IFormDataBinder formDataBinder, IContentLanguageRetriever contentLanguageRetriever)
Parameters
formComponentMapper
IFormComponentMapperformDataBinder
IFormDataBindercontentLanguageRetriever
IContentLanguageRetriever
Properties
ObjectId
ID of the object.
[PageParameter(typeof(IntPageModelBinder), typeof(TaxonomyEditSection))]
public override int ObjectId { get; set; }
Property Value
- int
Methods
FinalizeInfoObject(TaxonomyInfo, IFormFieldValueProvider, CancellationToken)
Allows to modify values of infoObject
before validation and saving.
protected override Task FinalizeInfoObject(TaxonomyInfo infoObject, IFormFieldValueProvider fieldValueProvider, CancellationToken cancellationToken)
Parameters
infoObject
TaxonomyInfoInfo 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.