8 references to _supplier
Microsoft.AspNetCore.Components.Tests (8)
Routing\QueryParameterValueSupplierTest.cs (8)
175var ex = Assert.Throws<InvalidOperationException>(() => _supplier.GetQueryParameterValue(targetType, key));
200var ex = Assert.Throws<InvalidOperationException>(() => _supplier.GetQueryParameterValue(targetType.MakeArrayType(), key));
217var ex = Assert.Throws<InvalidOperationException>(() => _supplier.GetQueryParameterValue(targetType, key));
253Assert.Equal(string.Empty, _supplier.GetQueryParameterValue(typeof(string), "StringVal"));
266Assert.Equal(new[] { "a", string.Empty, string.Empty, "b" }, _supplier.GetQueryParameterValue(typeof(string[]), "StringVals"));
283() => _supplier.GetQueryParameterValue(targetType, key));
344_supplier.ReadParametersFromQuery(query.AsMemory());
349var actualValue = _supplier.GetQueryParameterValue(typeof(T), key);