13 references to GetOutputFormatterContext
Microsoft.AspNetCore.Mvc.NewtonsoftJson.Test (13)
NewtonsoftJsonOutputFormatterTest.cs (12)
53var outputFormatterContext = GetOutputFormatterContext(person, typeof(User), writerFactory: (stream, encoding) => 94var outputFormatterContext = GetOutputFormatterContext(person, typeof(User), writerFactory: (stream, encoding) => 125var outputFormatterContext = GetOutputFormatterContext(person, typeof(User)); 158var outputFormatterContext1 = GetOutputFormatterContext(person, typeof(User)); 165var outputFormatterContext2 = GetOutputFormatterContext(person, typeof(User)); 199var context = GetOutputFormatterContext(user, typeof(User)); 251var context = GetOutputFormatterContext(dictionary, typeof(Dictionary<string, int>)); 287var context = GetOutputFormatterContext(user, typeof(UserWithJsonProperty)); 322var context = GetOutputFormatterContext(user, typeof(UserWithJsonProperty)); 353var outputFormatterContext = GetOutputFormatterContext( 383var outputFormatterContext = GetOutputFormatterContext( 420var context = GetOutputFormatterContext(user, typeof(User));
src\Mvc\Mvc.Core\test\Formatters\JsonOutputFormatterTestBase.cs (1)
144var outputFormatterContext = GetOutputFormatterContext(