/// <summary> /// Initializes a new instance of the <see cref="RouteTestBuilder"/> class. /// </summary> /// <param name="testContext"><see cref="RouteTestContext"/> containing data about the currently executed assertion chain.</param> public RouteTestBuilder(RouteTestContext testContext) : base(testContext) { }
/// <summary> /// Initializes a new instance of the <see cref="ShouldMapTestBuilder"/> class. /// </summary> /// <param name="testContext"><see cref="RouteTestContext"/> containing data about the currently executed assertion chain.</param> public ShouldMapTestBuilder(RouteTestContext testContext) : base(testContext) { }
/// <summary> /// Initializes a new instance of the <see cref="ControllerRouteTestBuilder{TController}"/> class. /// </summary> /// <param name="testContext"><see cref="RouteTestContext"/> containing data about the currently executed assertion chain.</param> /// <param name="actionCallExpression">Method call expression indicating the expected resolved action.</param> public ControllerRouteTestBuilder( RouteTestContext testContext, LambdaExpression actionCallExpression) : base(testContext, actionCallExpression) => this.ActionCallExpression = actionCallExpression;
/// <summary> /// Initializes a new instance of the <see cref="BaseRouteTestBuilder"/> class. /// </summary> /// <param name="testContext"><see cref="RouteTestContext"/> containing data about the currently executed assertion chain.</param> protected BaseRouteTestBuilder(RouteTestContext testContext) => this.TestContext = testContext;
/// <summary> /// Initializes a new instance of the <see cref="BaseRouteTestBuilder"/> class. /// </summary> /// <param name="testContext"><see cref="RouteTestContext"/> containing data about the currently executed assertion chain.</param> protected BaseRouteTestBuilder(RouteTestContext testContext) { this.TestContext = testContext; }
/// <summary> /// Initializes a new instance of the <see cref="ShouldMapTestBuilder"/> class. /// </summary> /// <param name="testContext"><see cref="RouteTestContext"/> containing data about the currently executed assertion chain.</param> /// <param name="actionCallExpression">Method call expression indicating the expected resolved action.</param> protected ShouldMapTestBuilder( RouteTestContext testContext, LambdaExpression actionCallExpression) : this(testContext) => this.actionCallExpression = actionCallExpression;