8 types derived from TextInputFormatter
FormatterWebSite (1)
StringInputFormatter.cs (1)
10public class StringInputFormatter : TextInputFormatter
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (1)
DefaultApiDescriptionProviderTest.cs (1)
2805private class MockInputFormatter : TextInputFormatter
Microsoft.AspNetCore.Mvc.Core (1)
Formatters\SystemTextJsonInputFormatter.cs (1)
14public partial class SystemTextJsonInputFormatter : TextInputFormatter, IInputFormatterExceptionPolicy
Microsoft.AspNetCore.Mvc.Core.Test (2)
Formatters\TextInputFormatterTest.cs (1)
203private class TestFormatter : TextInputFormatter
ModelBinding\Binders\BodyModelBinderTests.cs (1)
723private class XyzFormatter : TextInputFormatter
Microsoft.AspNetCore.Mvc.Formatters.Xml (2)
XmlDataContractSerializerInputFormatter.cs (1)
18public class XmlDataContractSerializerInputFormatter : TextInputFormatter, IInputFormatterExceptionPolicy
XmlSerializerInputFormatter.cs (1)
18public class XmlSerializerInputFormatter : TextInputFormatter, IInputFormatterExceptionPolicy
Microsoft.AspNetCore.Mvc.NewtonsoftJson (1)
NewtonsoftJsonInputFormatter.cs (1)
20public partial class NewtonsoftJsonInputFormatter : TextInputFormatter, IInputFormatterExceptionPolicy
61 references to TextInputFormatter
Microsoft.AspNetCore.Mvc.Core (2)
Formatters\SystemTextJsonInputFormatter.cs (1)
12/// A <see cref="TextInputFormatter"/> for JSON content that uses <see cref="JsonSerializer"/>.
Formatters\TextInputFormatter.cs (1)
29/// this <see cref="TextInputFormatter"/>. The encodings are
Microsoft.AspNetCore.Mvc.Core.Test (31)
Formatters\JsonInputFormatterTestBase.cs (25)
36var formatter = GetInputFormatter(); 54var formatter = GetInputFormatter(); 68var formatter = GetInputFormatter(); 89var formatter = GetInputFormatter(); 110var formatter = GetInputFormatter(); 134var formatter = GetInputFormatter(); 162var formatter = GetInputFormatter(); 189var formatter = GetInputFormatter(); 216var formatter = GetInputFormatter(); 236var formatter = GetInputFormatter(); 258var formatter = GetInputFormatter(); 290var formatter = GetInputFormatter(); 311var formatter = GetInputFormatter(); 338var formatter = GetInputFormatter(); 364var formatter = GetInputFormatter(); 390var formatter = GetInputFormatter(); 417var formatter = GetInputFormatter(); 448var formatter = GetInputFormatter(); 471var formatter = GetInputFormatter(); 498var formatter = GetInputFormatter(); 522var formatter = GetInputFormatter(); 541var formatter = GetInputFormatter(); 564var formatter = GetInputFormatter(); 588var formatter = GetInputFormatter(); 627protected abstract TextInputFormatter GetInputFormatter(bool allowInputFormatterExceptionMessages = true);
Formatters\SystemTextJsonInputFormatterTest.cs (6)
68var formatter = GetInputFormatter(); 93var formatter = GetInputFormatter(); 114var formatter = GetInputFormatter(); 142var formatter = GetInputFormatter(allowInputFormatterExceptionMessages: true); 165var formatter = GetInputFormatter(allowInputFormatterExceptionMessages: false); 184protected override TextInputFormatter GetInputFormatter(bool allowInputFormatterExceptionMessages = true)
Microsoft.AspNetCore.Mvc.NewtonsoftJson (2)
NewtonsoftJsonInputFormatter.cs (1)
18/// A <see cref="TextInputFormatter"/> for JSON content.
NewtonsoftJsonPatchInputFormatter.cs (1)
15/// A <see cref="TextInputFormatter"/> for JSON Patch (application/json-patch+json) content.
Microsoft.AspNetCore.Mvc.NewtonsoftJson.Test (26)
NewtonsoftJsonInputFormatterTest.cs (1)
580protected override TextInputFormatter GetInputFormatter(bool allowInputFormatterExceptionMessages = true)
src\Mvc\Mvc.Core\test\Formatters\JsonInputFormatterTestBase.cs (25)
36var formatter = GetInputFormatter(); 54var formatter = GetInputFormatter(); 68var formatter = GetInputFormatter(); 89var formatter = GetInputFormatter(); 110var formatter = GetInputFormatter(); 134var formatter = GetInputFormatter(); 162var formatter = GetInputFormatter(); 189var formatter = GetInputFormatter(); 216var formatter = GetInputFormatter(); 236var formatter = GetInputFormatter(); 258var formatter = GetInputFormatter(); 290var formatter = GetInputFormatter(); 311var formatter = GetInputFormatter(); 338var formatter = GetInputFormatter(); 364var formatter = GetInputFormatter(); 390var formatter = GetInputFormatter(); 417var formatter = GetInputFormatter(); 448var formatter = GetInputFormatter(); 471var formatter = GetInputFormatter(); 498var formatter = GetInputFormatter(); 522var formatter = GetInputFormatter(); 541var formatter = GetInputFormatter(); 564var formatter = GetInputFormatter(); 588var formatter = GetInputFormatter(); 627protected abstract TextInputFormatter GetInputFormatter(bool allowInputFormatterExceptionMessages = true);