bool RegisterSubRoute(IProtoSubRoute r) { if (NamedSubRoutes.ContainsKey(r.FullName)) { return(false); } NamedSubRoutes.Add(r.FullName, r); return(true); }
internal SubRouteConfigurationResolved( IProtoSubRoute c, IReadOnlyList<ActionConfigurationResolved> actions ) : base( c.FullName, c.Configuration.ConfigData, actions ) { _routePredicate = c.Configuration.RoutePredicate; }
internal SubRouteConfigurationResolved(IProtoSubRoute c, IReadOnlyList <ActionConfigurationResolved> actions) : base(c.FullName, c.Configuration.ConfigData, actions) { _routePredicate = c.Configuration.RoutePredicate; }
bool RegisterSubRoute( IProtoSubRoute r ) { if( NamedSubRoutes.ContainsKey( r.FullName ) ) return false; NamedSubRoutes.Add( r.FullName, r ); return true; }