Пример #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
 /// <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;
 }