コード例 #1
0
 /// <summary>
 /// 增加where信息
 /// </summary>
 /// <param name="route">路由条目</param>
 /// <param name="routed">路由特性</param>
 private void ComplieOptionsWhere(IRoute route, Dictionary <string, string> routed)
 {
     foreach (var kv in routed)
     {
         route.Where(kv.Key, kv.Value, false);
     }
 }