예제 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RequestHandler" /> class.
 /// </summary>
 /// <param name="controllersRequestHandler">The controllers request handler.</param>
 /// <param name="staticFilesRequestHandler">The static files request handler.</param>
 public RequestHandler(IControllersRequestHandler controllersRequestHandler, IStaticFilesRequestHandler staticFilesRequestHandler)
 {
     _controllersRequestHandler = controllersRequestHandler;
     _staticFilesRequestHandler = staticFilesRequestHandler;
 }
예제 #2
0
		/// <summary>
		/// Initializes a new instance of the <see cref="RequestHandler" /> class.
		/// </summary>
		/// <param name="controllersRequestHandler">The controllers request handler.</param>
		/// <param name="staticFilesRequestHandler">The static files request handler.</param>
		public RequestHandler(IControllersRequestHandler controllersRequestHandler, IStaticFilesRequestHandler staticFilesRequestHandler)
		{
			_controllersRequestHandler = controllersRequestHandler;
			_staticFilesRequestHandler = staticFilesRequestHandler;
		}
예제 #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RequestHandler" /> class.
 /// </summary>
 /// <param name="controllersRequestHandler">The controllers request handler.</param>
 /// <param name="staticFilesRequestHandler">The static files request handler.</param>
 /// <param name="staticFilesHandling">Sets a value indicating whether Simplify.Web static files processing is enabled or controllers requests should be processed only.</param>
 public RequestHandler(IControllersRequestHandler controllersRequestHandler, IStaticFilesRequestHandler staticFilesRequestHandler, bool staticFilesHandling)
 {
     _controllersRequestHandler = controllersRequestHandler;
     _staticFilesRequestHandler = staticFilesRequestHandler;
     _staticFilesHandling       = staticFilesHandling;
 }