28 references to CreateInputFormatterContext
Microsoft.AspNetCore.Mvc.Core.Test (28)
Formatters\JsonInputFormatterTestBase.cs (23)
41
var formatterContext =
CreateInputFormatterContext
(typeof(string), httpContext);
73
var formatterContext =
CreateInputFormatterContext
(typeof(int), httpContext);
94
var formatterContext =
CreateInputFormatterContext
(typeof(string), httpContext);
115
var formatterContext =
CreateInputFormatterContext
(typeof(string), httpContext);
139
var formatterContext =
CreateInputFormatterContext
(
167
var formatterContext =
CreateInputFormatterContext
(typeof(IEnumerable<IDictionary<string, short>>), httpContext);
194
var formatterContext =
CreateInputFormatterContext
(
221
var formatterContext =
CreateInputFormatterContext
(typeof(DateTime), httpContext);
242
var formatterContext =
CreateInputFormatterContext
(typeof(ComplexModel), httpContext);
264
var formatterContext =
CreateInputFormatterContext
(typeof(int[]), httpContext);
296
var formatterContext =
CreateInputFormatterContext
(requestedType, httpContext);
317
var formatterContext =
CreateInputFormatterContext
(typeof(List<ComplexModel>), httpContext);
344
var formatterContext =
CreateInputFormatterContext
(typeof(ComplexModel), httpContext);
370
var formatterContext =
CreateInputFormatterContext
(typeof(short[]), httpContext);
396
var formatterContext =
CreateInputFormatterContext
(typeof(ComplexModel[]), httpContext, modelName: "names");
423
var formatterContext =
CreateInputFormatterContext
(typeof(ComplexModel), httpContext);
453
var formatterContext =
CreateInputFormatterContext
(
477
var formatterContext =
CreateInputFormatterContext
(typeof(ComplexPoco), httpContext);
503
var formatterContext =
CreateInputFormatterContext
(typeof(A), httpContext);
527
var formatterContext =
CreateInputFormatterContext
(typeof(ComplexPoco), httpContext);
549
var formatterContext =
CreateInputFormatterContext
(typeof(ComplexModel), httpContext);
571
var formatterContext =
CreateInputFormatterContext
(typeof(ComplexModel), httpContext);
597
var formatterContext =
CreateInputFormatterContext
(typeof(ComplexModel), httpContext);
Formatters\SystemTextJsonInputFormatterTest.cs (5)
74
var formatterContext =
CreateInputFormatterContext
(typeof(List<int>), httpContext);
98
var formatterContext =
CreateInputFormatterContext
(typeof(TypeWithBadConverters), httpContext);
119
var formatterContext =
CreateInputFormatterContext
(typeof(TypeWithBadConverters), httpContext);
147
var formatterContext =
CreateInputFormatterContext
(typeof(User), httpContext);
169
var formatterContext =
CreateInputFormatterContext
(typeof(User), httpContext);