Class ChildRegionDefinitionBuilder
- Namespace
- MackySoft.Navigathena
- Assembly
- MackySoft.Navigathena.dll
Builds the routes accepted by a child region owned by one route registration.
public sealed class ChildRegionDefinitionBuilder
- Inheritance
-
ChildRegionDefinitionBuilder
- Inherited Members
Methods
AddRoute<TRoute>(RouteEntryOperations, LowerPresentationPolicy, Action<RouteDefinitionBuilder<TRoute>>?)
Adds an exact route type to this child 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 the owning screen or sibling regions.
defineChildrenAction<RouteDefinitionBuilder<TRoute>>Optional definitions of child regions owned by this route.
Type Parameters
TRoute