8 references to Instance
Microsoft.AspNetCore.Http.Extensions (8)
RequestDelegateFactory.cs (8)
796
ParameterBindingMethodCache.
Instance
.HasTryParseMethod(parameter.ParameterType) ||
799
ParameterBindingMethodCache.
Instance
.HasTryParseMethod(parameter.ParameterType.GetElementType()!)));
875
else if (ParameterBindingMethodCache.
Instance
.HasBindAsyncMethod(parameter))
880
else if (parameter.ParameterType == typeof(string) || ParameterBindingMethodCache.
Instance
.HasTryParseMethod(parameter.ParameterType))
910
(parameter.ParameterType.IsArray && ParameterBindingMethodCache.
Instance
.HasTryParseMethod(parameter.ParameterType.GetElementType()!))))
1583
var (constructor, parameters) = ParameterBindingMethodCache.
Instance
.FindConstructor(parameterType);
1694
var tryParseMethodCall = ParameterBindingMethodCache.
Instance
.FindTryParseMethod(nonNullableParameterType);
2026
var bindAsyncMethod = ParameterBindingMethodCache.
Instance
.FindBindAsyncMethod(parameter);