5 references to HasTryParseMethod
Microsoft.AspNetCore.Http.Extensions (4)
RequestDelegateFactory.cs (4)
797
ParameterBindingMethodCache.Instance.
HasTryParseMethod
(parameter.ParameterType) ||
798
(parameter.ParameterType.IsArray && ParameterBindingMethodCache.Instance.
HasTryParseMethod
(parameter.ParameterType.GetElementType()!));
879
else if (parameter.ParameterType == typeof(string) || ParameterBindingMethodCache.Instance.
HasTryParseMethod
(parameter.ParameterType))
909
(parameter.ParameterType.IsArray && ParameterBindingMethodCache.Instance.
HasTryParseMethod
(parameter.ParameterType.GetElementType()!))))
Microsoft.AspNetCore.Http.Extensions.Tests (1)
ParameterBindingMethodCacheTests.cs (1)
164
Assert.True(new ParameterBindingMethodCache().
HasTryParseMethod
(parameterInfo.ParameterType));