/// <summary>
 /// Creates an instance of the <see cref="WebApiRouteFilterAttribute"/> using the <see cref="RouteFilterOptions"/> passed.
 /// </summary>
 public WebApiRouteFilterAttribute(RouteFilterOptions options)
 {
     _options = options;
 }
コード例 #2
0
 /// <summary>
 /// Creates an instance of the <see cref="MvcRouteFilterAttribute"/> using the <see cref="RouteFilterOptions"/> passed.
 /// </summary>
 public MvcRouteFilterAttribute(RouteFilterOptions options)
 {
     _options = options;
 }