public override RequestContext ConstructEntity() { return(new RequestContext( _httpContext ?? FakeHttpContextBuilder.BuildDefault(), _routeData ?? RouteDataBuilder.BuildDefault() )); }
public override FakeRouteBuilder WithRandomProps() { return(base.WithRandomProps() .WithRouteData(RouteDataBuilder.BuildRandom()) .WithVirtualPathData(VirtualPathDataBuilder.BuildRandom())); }