コード例 #1
0
        public override RouteData Build()
        {
            var result = new RouteData();

            result.Route = FakeRouteBuilder.Create()
                           .WithRouteData(result)
                           .Build();
            result.RouteHandler = _routeHandler;
            return(result);
        }
コード例 #2
0
 public override RouteDataBuilder WithRandomProps()
 {
     return(WithRoute(FakeRouteBuilder.BuildRandom())
            .WithRouteHandler(Substitute.For <IRouteHandler>()));
 }