7 references to CreateOrGetSupportedEncoding
Microsoft.AspNetCore.Mvc.Core.Test (7)
Formatters\JsonOutputFormatterTestBase.cs (2)
86
var encoding =
CreateOrGetSupportedEncoding
(formatter, encodingAsString, isDefaultEncoding);
118
var encoding =
CreateOrGetSupportedEncoding
(formatter, "utf-8", isDefaultEncoding: true);
Formatters\SystemTextJsonOutputFormatterTest.cs (5)
40
var encoding =
CreateOrGetSupportedEncoding
(formatter, "utf-8", isDefaultEncoding: true);
68
var encoding =
CreateOrGetSupportedEncoding
(formatter, "utf-16", isDefaultEncoding: true);
94
var encoding =
CreateOrGetSupportedEncoding
(formatter, "utf-8", isDefaultEncoding: true);
186
var encoding =
CreateOrGetSupportedEncoding
(formatter, "utf-8", isDefaultEncoding: true);
226
var encoding =
CreateOrGetSupportedEncoding
(formatter, "utf-8", isDefaultEncoding: true);