Ejemplo n.º 1
0
 /// <summary>
 /// 设定路由器
 /// </summary>
 /// <param name="router">路由器</param>
 /// <returns>当前路由条目</returns>
 public Route SetRouter(Router router)
 {
     this.router = router;
     return(this);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// 属性路由编译器
 /// </summary>
 /// <param name="router">路由器</param>
 public AttrRouteCompiler(Router router)
 {
     this.router = router;
     stripping   = new List <Func <Assembly, bool> >();
 }