Describes the configuration of a route once configuration is resolved (actions and subordinate routes are known).
 internal RouteConfigurationResult( RouteConfigurationResolved root, Dictionary<string, SubRouteConfigurationResolved> namedSubRoutes )
 {
     _root = root;
     _namedSubRoutes = namedSubRoutes;
     #if NET451
     _namedSubRoutesEx = new CKReadOnlyCollectionOnICollection<SubRouteConfigurationResolved>( _namedSubRoutes.Values );
     #else
     _namedSubRoutesEx = _namedSubRoutes.Values;
     #endif
 }
Beispiel #2
0
 internal RouteConfigurationResult(RouteConfigurationResolved root, Dictionary <string, SubRouteConfigurationResolved> namedSubRoutes)
 {
     _root           = root;
     _namedSubRoutes = namedSubRoutes;
     #if NET451
     _namedSubRoutesEx = new CKReadOnlyCollectionOnICollection <SubRouteConfigurationResolved>(_namedSubRoutes.Values);
     #else
     _namedSubRoutesEx = _namedSubRoutes.Values;
     #endif
 }