18 references to GetOutputFormatterContext
Microsoft.AspNetCore.Mvc.Formatters.Xml.Test (18)
XmlSerializerOutputFormatterTest.cs (18)
56var outputFormatterContext = GetOutputFormatterContext(input, input.GetType()); 91var outputFormatterContext = GetOutputFormatterContext(input, input.GetType()); 111var outputFormatterContext = GetOutputFormatterContext(input, input.GetType()); 132var context = GetOutputFormatterContext(input, typeof(DummyClass)); 164var formatterContext = GetOutputFormatterContext(sampleInput, sampleInput.GetType()); 191var outputFormatterContext = GetOutputFormatterContext(sampleInput, sampleInput.GetType()); 224var outputFormatterContext = GetOutputFormatterContext(sampleInput, sampleInput.GetType()); 247var outputFormatterContext = GetOutputFormatterContext(sampleInput, sampleInput.GetType()); 277GetOutputFormatterContext(sampleInput, sampleInput.GetType(), "application/xml; charset=utf-16"); 304var outputFormatterContext = GetOutputFormatterContext(sampleInput, sampleInput.GetType()); 323var outputFormatterContext = GetOutputFormatterContext(sampleInput, sampleInput.GetType()); 356var outputFormatterContext = GetOutputFormatterContext(input, declaredType); 387var outputFormatterContext = GetOutputFormatterContext(new object(), typeof(object)); 406var outputFormatterContext = GetOutputFormatterContext(sampleInput, sampleInput.GetType()); 475var outputFormatterContext = GetOutputFormatterContext(new Customer(10), typeof(Customer)); 494var outputFormatterContext = GetOutputFormatterContext(new Customer(10), typeof(Customer)); 513var outputFormatterContext = GetOutputFormatterContext( 551var outputFormatterContext = GetOutputFormatterContext(