37 references to CreateInputFormatterContext
Microsoft.AspNetCore.Mvc.NewtonsoftJson.Test (37)
NewtonsoftJsonInputFormatterTest.cs (14)
44var formatterContext = CreateInputFormatterContext(typeof(User), httpContext);
80var formatterContext = CreateInputFormatterContext(typeof(User), httpContext);
116var formatterContext = CreateInputFormatterContext(typeof(User), httpContext);
163var formatterContext = CreateInputFormatterContext(typeof(UserLogin), httpContext);
240var formatterContext = CreateInputFormatterContext(typeof(User), httpContext);
265var formatterContext = CreateInputFormatterContext(typeof(List<int>), httpContext);
295var formatterContext = CreateInputFormatterContext(typeof(User), httpContext);
328var formatterContext = CreateInputFormatterContext(typeof(User), httpContext);
360var formatterContext = CreateInputFormatterContext(typeof(TypeWithPrimitives), httpContext);
391var formatterContext = CreateInputFormatterContext(typeof(TypeWithPrimitives), httpContext);
422var formatterContext = CreateInputFormatterContext(typeof(TypeWithNestedComplex), httpContext);
460var formatterContext = CreateInputFormatterContext(typeof(string), httpContext.Object);
508var formatterContext = CreateInputFormatterContext(typeof(TypeWithPrimitives), httpContext);
551var formatterContext = CreateInputFormatterContext(typeof(Location), httpContext);
src\Mvc\Mvc.Core\test\Formatters\JsonInputFormatterTestBase.cs (23)
41var formatterContext = CreateInputFormatterContext(typeof(string), httpContext);
73var formatterContext = CreateInputFormatterContext(typeof(int), httpContext);
94var formatterContext = CreateInputFormatterContext(typeof(string), httpContext);
115var formatterContext = CreateInputFormatterContext(typeof(string), httpContext);
139var formatterContext = CreateInputFormatterContext(
167var formatterContext = CreateInputFormatterContext(typeof(IEnumerable<IDictionary<string, short>>), httpContext);
194var formatterContext = CreateInputFormatterContext(
221var formatterContext = CreateInputFormatterContext(typeof(DateTime), httpContext);
242var formatterContext = CreateInputFormatterContext(typeof(ComplexModel), httpContext);
264var formatterContext = CreateInputFormatterContext(typeof(int[]), httpContext);
296var formatterContext = CreateInputFormatterContext(requestedType, httpContext);
317var formatterContext = CreateInputFormatterContext(typeof(List<ComplexModel>), httpContext);
344var formatterContext = CreateInputFormatterContext(typeof(ComplexModel), httpContext);
370var formatterContext = CreateInputFormatterContext(typeof(short[]), httpContext);
396var formatterContext = CreateInputFormatterContext(typeof(ComplexModel[]), httpContext, modelName: "names");
423var formatterContext = CreateInputFormatterContext(typeof(ComplexModel), httpContext);
453var formatterContext = CreateInputFormatterContext(
477var formatterContext = CreateInputFormatterContext(typeof(ComplexPoco), httpContext);
503var formatterContext = CreateInputFormatterContext(typeof(A), httpContext);
527var formatterContext = CreateInputFormatterContext(typeof(ComplexPoco), httpContext);
549var formatterContext = CreateInputFormatterContext(typeof(ComplexModel), httpContext);
571var formatterContext = CreateInputFormatterContext(typeof(ComplexModel), httpContext);
597var formatterContext = CreateInputFormatterContext(typeof(ComplexModel), httpContext);