8 references to Instance
Microsoft.AspNetCore.Http.Extensions (8)
RequestDelegateFactory.cs (8)
790
ParameterBindingMethodCache.
Instance
.HasTryParseMethod(parameter.ParameterType) ||
791
(parameter.ParameterType.IsArray && ParameterBindingMethodCache.
Instance
.HasTryParseMethod(parameter.ParameterType.GetElementType()!));
867
else if (ParameterBindingMethodCache.
Instance
.HasBindAsyncMethod(parameter))
872
else if (parameter.ParameterType == typeof(string) || ParameterBindingMethodCache.
Instance
.HasTryParseMethod(parameter.ParameterType))
902
(parameter.ParameterType.IsArray && ParameterBindingMethodCache.
Instance
.HasTryParseMethod(parameter.ParameterType.GetElementType()!))))
1572
var (constructor, parameters) = ParameterBindingMethodCache.
Instance
.FindConstructor(parameterType);
1683
var tryParseMethodCall = ParameterBindingMethodCache.
Instance
.FindTryParseMethod(nonNullableParameterType);
1987
var bindAsyncMethod = ParameterBindingMethodCache.
Instance
.FindBindAsyncMethod(parameter);