1 instantiation of ParameterListWithReadOnlyProperties
Microsoft.AspNetCore.Http.Extensions.Tests (1)
RequestDelegateGenerator\RequestDelegateCreationTests.AsParameters.cs (1)
266
var expectedInput = new
ParameterListWithReadOnlyProperties
() { Value = routeParamValue };
7 references to ParameterListWithReadOnlyProperties
Microsoft.AspNetCore.Http.Extensions.Tests (7)
RequestDelegateGenerator\RequestDelegateCreationTests.AsParameters.cs (7)
266
var
expectedInput = new ParameterListWithReadOnlyProperties() { Value = routeParamValue };
280
httpContext.Request.RouteValues[nameof(
ParameterListWithReadOnlyProperties
.Value)] = routeParamValue.ToString(NumberFormatInfo.InvariantInfo);
281
httpContext.Request.RouteValues[nameof(
ParameterListWithReadOnlyProperties
.ConstantValue)] = routeParamValue.ToString(NumberFormatInfo.InvariantInfo);
282
httpContext.Request.RouteValues[nameof(
ParameterListWithReadOnlyProperties
.ReadOnlyValue)] = routeParamValue.ToString(NumberFormatInfo.InvariantInfo);
283
httpContext.Request.RouteValues[nameof(
ParameterListWithReadOnlyProperties
.PrivateSetValue)] = routeParamValue.ToString(NumberFormatInfo.InvariantInfo);
287
var
input = Assert.IsType<
ParameterListWithReadOnlyProperties
>(httpContext.Items["input"]);