5 references to Instance
Microsoft.AspNetCore.OpenApi (5)
Services\OpenApiGenerator.cs (5)
260
var parameters = PropertyAsParameterInfo.Flatten(methodInfo.GetParameters(), ParameterBindingMethodCache.
Instance
);
362
var parameters = PropertyAsParameterInfo.Flatten(methodInfo.GetParameters(), ParameterBindingMethodCache.
Instance
);
429
ParameterBindingMethodCache.
Instance
.HasBindAsyncMethod(parameter) ||
434
else if (parameter.ParameterType == typeof(string) || ParameterBindingMethodCache.
Instance
.HasTryParseMethod(parameter.ParameterType))
453
(parameter.ParameterType.IsArray && ParameterBindingMethodCache.
Instance
.HasTryParseMethod(parameter.ParameterType.GetElementType()!))))