public FakeControllerContext(FakeHttpContext context, RouteData routeData, ControllerBase controllerBase)
     : base(context, routeData, controllerBase)
 {
 }
 public FakeRequestContext(FakeHttpContext httpContext = null)
     : base(httpContext ?? new FakeHttpContext(), new RouteData())
 {
 }
示例#3
0
 public FakeViewContext(FakeHttpContext context = null)
 {
     HttpContext = context ?? new FakeHttpContext();
     ViewData    = new ViewDataDictionary();
 }
示例#4
0
		public FakeRequestContext(FakeHttpContext httpContext = null)
			: base(httpContext ?? new FakeHttpContext(), new RouteData())
		{
		}
示例#5
0
		public FakeViewContext(FakeHttpContext context = null)
		{
			HttpContext = context ?? new FakeHttpContext();
			ViewData = new ViewDataDictionary();
		}