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