Ejemplo n.º 1
0
 public FakeControllerContext(FakeHttpContext context, RouteData routeData, ControllerBase controllerBase)
     : base(context, routeData, controllerBase)
 {
 }
Ejemplo n.º 2
0
 public FakeRequestContext(FakeHttpContext httpContext = null)
     : base(httpContext ?? new FakeHttpContext(), new RouteData())
 {
 }
Ejemplo n.º 3
0
 public FakeViewContext(FakeHttpContext context = null)
 {
     HttpContext = context ?? new FakeHttpContext();
     ViewData    = new ViewDataDictionary();
 }
Ejemplo n.º 4
0
		public FakeRequestContext(FakeHttpContext httpContext = null)
			: base(httpContext ?? new FakeHttpContext(), new RouteData())
		{
		}
Ejemplo n.º 5
0
		public FakeViewContext(FakeHttpContext context = null)
		{
			HttpContext = context ?? new FakeHttpContext();
			ViewData = new ViewDataDictionary();
		}