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 }
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 }