コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="LegacyRouteBuilder"/> class.
 /// </summary>
 /// <param name="method">The HTTP request method that the route should be available for.</param>
 /// <param name="parentModule">The <see cref="INancyModule"/> that the route is being configured for.</param>
 public LegacyRouteBuilder(string method, LegacyNancyModule parentModule)
 {
     this.method       = method;
     this.parentModule = parentModule;
 }
コード例 #2
0
ファイル: LegacyNancyModule.cs プロジェクト: jeremymeng/Nancy
 /// <summary>
 /// Initializes a new instance of the <see cref="LegacyRouteBuilder"/> class.
 /// </summary>
 /// <param name="method">The HTTP request method that the route should be available for.</param>
 /// <param name="parentModule">The <see cref="INancyModule"/> that the route is being configured for.</param>
 public LegacyRouteBuilder(string method, LegacyNancyModule parentModule)
 {
     this.method = method;
     this.parentModule = parentModule;
 }