示例#1
0
 public static void MakeWithLove(this IAppBuilder app, MadeWithLoveOptions options = null)
 {
     app.Use <MadeWithLoveMiddleware>(options);
 }
 public MadeWithLoveMiddleware(OwinMiddleware next, MadeWithLoveOptions options = null)
     : base(next)
 {
     this.options = options ?? new MadeWithLoveOptions();
 }