Ejemplo n.º 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;
 }
Ejemplo n.º 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;
 }