/// <summary>
 ///
 /// </summary>
 /// <param name="next"></param>
 /// <param name="options"></param>
 public ApiExplorerUIInitJsonMIddleware(
     RequestDelegate next,
     ApiExplorerUIOptions options)
 {
     this.next           = next;
     this.requestMatcher = new TemplateMatcher(TemplateParser.Parse(options.InitJsonPath), new RouteValueDictionary());
     this.options        = options;
 }
예제 #2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="options"></param>
 public ApiExplorerUIInitJsonMIddleware(ApiExplorerUIOptions options)
 {
     this.options = options;
 }