示例#1
0
 internal virtual Map AddChildRoute(ToRoute route)
 {
     if (route != null)
     {
         lock (this) {
             Initializers.Value.Add(route);
         }
     }
     return(this);
 }
示例#2
0
 internal virtual Map AddChildRoute(ToRoute route)
 {
     if (route != null)
     {
         lock (this) {
             if (Initializers == null)
             {
                 Initializers = new Queue <ToRoute>();
             }
             Initializers.Enqueue(route);
         }
     }
     return(this);
 }
示例#3
0
 public void AddChildRoute(ToRoute route)
 {
     _map.AddChildRoutes(route.SingleItemAsEnumerable());
 }
示例#4
0
 public void AddChildRoute(ToRoute route)
 {
     _map.AddChildRoute(route);
 }