コード例 #1
0
 bool RegisterSubRoute(IProtoSubRoute r)
 {
     if (NamedSubRoutes.ContainsKey(r.FullName))
     {
         return(false);
     }
     NamedSubRoutes.Add(r.FullName, r);
     return(true);
 }
コード例 #2
0
 internal SubRouteConfigurationResolved( IProtoSubRoute c, IReadOnlyList<ActionConfigurationResolved> actions )
     : base( c.FullName, c.Configuration.ConfigData, actions )
 {
     _routePredicate = c.Configuration.RoutePredicate;
 }
コード例 #3
0
 internal SubRouteConfigurationResolved(IProtoSubRoute c, IReadOnlyList <ActionConfigurationResolved> actions)
     : base(c.FullName, c.Configuration.ConfigData, actions)
 {
     _routePredicate = c.Configuration.RoutePredicate;
 }
コード例 #4
0
ファイル: ProtoResolver.cs プロジェクト: Invenietis/ck-core
 bool RegisterSubRoute( IProtoSubRoute r )
 {
     if( NamedSubRoutes.ContainsKey( r.FullName ) ) return false;
     NamedSubRoutes.Add( r.FullName, r );
     return true;
 }