Table of Contents

Class NavigationDestinationTree<TRoute>

Namespace
MackySoft.Navigathena
Assembly
MackySoft.Navigathena.dll

Represents a typed route destination and its immutable initial child configuration.

public sealed class NavigationDestinationTree<TRoute> : INavigationDestinationTree where TRoute : NavigationRoute

Type Parameters

TRoute
Inheritance
NavigationDestinationTree<TRoute>
Implements
Inherited Members

Properties

Children

public IReadOnlyDictionary<RegionDefinitionId, INavigationDestinationTree> Children { get; }

Property Value

IReadOnlyDictionary<RegionDefinitionId, INavigationDestinationTree>

Route

public TRoute Route { get; }

Property Value

TRoute

Methods

Child<TChildRoute>(RegionDefinitionId, NavigationDestinationTree<TChildRoute>)

Returns a new destination with the initial destination for one child region.

public NavigationDestinationTree<TRoute> Child<TChildRoute>(RegionDefinitionId childRegion, NavigationDestinationTree<TChildRoute> child) where TChildRoute : Route

Parameters

childRegion RegionDefinitionId
child NavigationDestinationTree<TChildRoute>

Returns

NavigationDestinationTree<TRoute>

Type Parameters

TChildRoute