Class TaxonomyEditLayout
General tab of the taxonomy's edit page.
[UINavigation(false)]
public sealed class TaxonomyEditLayout : Page<TaxonomyEditLayoutClientProperties>, IPage
- Inheritance
-
objectTaxonomyEditLayout
- Implements
- Inherited Members
- Extension Methods
Constructors
TaxonomyEditLayout(ILocalizationService, IEventLogService, ITaxonomyManager, IInfoProvider<TagInfo>)
Initializes a new instance of TaxonomyEditLayout.
public TaxonomyEditLayout(ILocalizationService localizationService, IEventLogService eventLogService, ITaxonomyManager taxonomyManager, IInfoProvider<TagInfo> tagInfoProvider)
Parameters
localizationService
ILocalizationServiceeventLogService
IEventLogServicetaxonomyManager
ITaxonomyManagertagInfoProvider
IInfoProvider<TagInfo>
Properties
TaxonomyID
Taxonomy ID.
[PageParameter(typeof(IntPageModelBinder), typeof(TaxonomyEditSection))]
public int TaxonomyID { get; set; }
Property Value
- int
Methods
ConfigureTemplateProperties(TaxonomyEditLayoutClientProperties)
Gets the object representing client side template properties.
public override Task<TaxonomyEditLayoutClientProperties> ConfigureTemplateProperties(TaxonomyEditLayoutClientProperties properties)
Parameters
properties
TaxonomyEditLayoutClientPropertiesInitialized properties object.
Returns
DeleteTag(DeleteTagCommandArguments, CancellationToken)
Deletes tag.
public Task<ICommandResponse<ModifyTagCommandResult>> DeleteTag(DeleteTagCommandArguments args, CancellationToken cancellationToken = default)
Parameters
args
DeleteTagCommandArgumentsDelete tag command arguments.
cancellationToken
CancellationTokenCancellation instruction.
Returns
GetDefaultRoute(IEnumerable<Route>)
Gets the route which is redirected to, when no route is selected.
protected override Route GetDefaultRoute(IEnumerable<Route> routes)
Parameters
routes
IEnumerable<Route>
Returns
LoadOrder(LoadOrderCommandArguments, CancellationToken)
Loads tree items of parent specified in ParentId in the correct order.
public Task<ICommandResponse<LoadOrderCommandResult>> LoadOrder(LoadOrderCommandArguments args, CancellationToken cancellationToken = default)
Parameters
args
LoadOrderCommandArgumentscancellationToken
CancellationToken
Returns
MoveTag(MoveTagCommandArguments, CancellationToken)
Moves the tag to a new parent.
public Task<ICommandResponse<ModifyTagCommandResult>> MoveTag(MoveTagCommandArguments args, CancellationToken cancellationToken = default)
Parameters
args
MoveTagCommandArgumentsMove tag command arguments.
cancellationToken
CancellationTokenCancellation instruction.