コード例 #1
0
 public static IApplicationBuilder UsePlayground(
     this IApplicationBuilder applicationBuilder,
     PathString queryPath)
 {
     return(applicationBuilder.UsePlayground(new PlaygroundOptions
     {
         QueryPath = queryPath,
         Path = queryPath + new PathString("/playground")
     }));
 }
コード例 #2
0
 public static IApplicationBuilder UsePlayground(
     this IApplicationBuilder applicationBuilder)
 {
     return(applicationBuilder.UsePlayground(new PlaygroundOptions()));
 }