示例#1
0
 public Site(RequestDelegate next, SiteOptions options)
 {
     this.next    = next;
     this.options = options;
 }
示例#2
0
 public static IApplicationBuilder UseSite(this IApplicationBuilder app, SiteOptions options)
 {
     return(app.UseMiddleware <Site>(options));
 }