8 references to Instance
Microsoft.AspNetCore.Http.Extensions (8)
RequestDelegateFactory.cs (8)
789
ParameterBindingMethodCache.
Instance
.HasTryParseMethod(parameter.ParameterType) ||
790
(parameter.ParameterType.IsArray && ParameterBindingMethodCache.
Instance
.HasTryParseMethod(parameter.ParameterType.GetElementType()!));
866
else if (ParameterBindingMethodCache.
Instance
.HasBindAsyncMethod(parameter))
871
else if (parameter.ParameterType == typeof(string) || ParameterBindingMethodCache.
Instance
.HasTryParseMethod(parameter.ParameterType))
901
(parameter.ParameterType.IsArray && ParameterBindingMethodCache.
Instance
.HasTryParseMethod(parameter.ParameterType.GetElementType()!))))
1571
var (constructor, parameters) = ParameterBindingMethodCache.
Instance
.FindConstructor(parameterType);
1682
var tryParseMethodCall = ParameterBindingMethodCache.
Instance
.FindTryParseMethod(nonNullableParameterType);
1980
var bindAsyncMethod = ParameterBindingMethodCache.
Instance
.FindBindAsyncMethod(parameter);