Implemented interface member:
method
GetSupportedContentTypes
Microsoft.AspNetCore.Mvc.ApiExplorer.IApiRequestFormatMetadataProvider.GetSupportedContentTypes(System.String, System.Type)
5 references to GetSupportedContentTypes
Microsoft.AspNetCore.Mvc.Core.Test (5)
Formatters\InputFormatterTest.cs (5)
326
var results = formatter.
GetSupportedContentTypes
(contentType: null, objectType: typeof(int));
341
var results = formatter.
GetSupportedContentTypes
(contentType: null, objectType: typeof(string));
356
var results = formatter.
GetSupportedContentTypes
(contentType: null, objectType: typeof(string));
374
var results = formatter.
GetSupportedContentTypes
("text/*", typeof(string));
404
() => formatter.
GetSupportedContentTypes
("application/json", typeof(object)));