Describes the configuration of a route once configuration is resolved (actions and subordinate routes are known).
コード例 #1
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
 }
コード例 #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
 }