コード例 #1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="routeName"></param>
 /// <param name="url"></param>
 /// <param name="actionName"></param>
 /// <param name="constraint"></param>
 /// <returns>IWithAction</returns>
 public IWithAction withAction(string routeName, string url, string actionName, object constraint)
 {
     RouteBuilder.LinkRoute(RouteBuilder.Build(routeName, url, actionName, _controllerName, _nameSpace, constraint, false), _area, _nameSpace);
     return(this);
 }
コード例 #2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="routeName"></param>
 /// <param name="url"></param>
 /// <param name="actionName"></param>
 /// <param name="hasOptionalId"></param>
 /// <returns>IWithAction</returns>
 public IWithAction withAction(string routeName, string url, string actionName, bool hasOptionalId = false)
 {
     RouteBuilder.LinkRoute(RouteBuilder.Build(routeName, url, actionName, _controllerName, _nameSpace, false), _area, _nameSpace);
     return(this);
 }