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