/// <summary> /// 增加defaults信息 /// </summary> /// <param name="route">路由条目</param> /// <param name="routed">路由特性</param> private void ComplieOptionsDefaults(IRoute route, Dictionary <string, string> routed) { foreach (var kv in routed) { route.Defaults(kv.Key, kv.Value, false); } }