示例#1
0
文件: Program.cs 项目: xela30/Samples
 public static void UseHelloWorld(this IAppBuilder app, HelloWorldOptions options)
 {
     app.Use <HelloWorldMiddleware>(options);
 }
示例#2
0
		public static void UseHelloWorld(this IAppBuilder app, HelloWorldOptions options)
		{
			app.Use<HelloWorldMiddleware>(options);
		}
示例#3
0
文件: Program.cs 项目: xela30/Samples
 public HelloWorldMiddleware(AppFunc next, HelloWorldOptions options)
 {
     this.next    = next;
     this.options = options;
 }
示例#4
0
		public HelloWorldMiddleware(AppFunc next, HelloWorldOptions options)
		{
			this.next = next;
			this.options = options;
		}