Class RootRegionDefinitionBuilder
- Namespace
- MackySoft.Navigathena
- Assembly
- MackySoft.Navigathena.dll
Builds the root region of one immutable navigation definition.
public sealed class RootRegionDefinitionBuilder
- Inheritance
-
RootRegionDefinitionBuilder
- Inherited Members
Methods
AddRoute<TRoute>(RouteEntryOperations, LowerPresentationPolicy, Action<RouteDefinitionBuilder<TRoute>>?)
Adds an exact route type to the root region.
public void AddRoute<TRoute>(RouteEntryOperations allowedEntryOperations, LowerPresentationPolicy lowerPresentationPolicy, Action<RouteDefinitionBuilder<TRoute>>? defineChildren = null) where TRoute : NavigationRoute
Parameters
allowedEntryOperationsRouteEntryOperationsOne or more operations permitted to create a new entry. Back and restoration do not use these permissions.
lowerPresentationPolicyLowerPresentationPolicyHow this route affects lower entries in this region and their descendants, not sibling regions.
defineChildrenAction<RouteDefinitionBuilder<TRoute>>Optional definitions of child regions owned by this route.
Type Parameters
TRoute