22 references to Plain
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (7)
Logging\AcceptanceTests.cs (6)
72context.Response.ContentType = MediaTypeNames.Text.Plain; 89context.Response.ContentType = MediaTypeNames.Text.Plain; 154[InlineData(MediaTypeNames.Text.Plain, true)] 211[InlineData(MediaTypeNames.Text.Plain, true)] 283x.MediaTypeOptions.AddText(MediaTypeNames.Text.Plain); 599x.MediaTypeOptions.AddText(MediaTypeNames.Text.Plain);
Logging\HeaderReaderTests.cs (1)
22var headers = new HeaderDictionary(new Dictionary<string, StringValues> { [HeaderNames.Accept] = MediaTypeNames.Text.Plain });
Microsoft.Extensions.Http.Diagnostics.Tests (13)
Logging\HttpRequestReaderTest.cs (13)
63RequestBodyContentTypes = new HashSet<string> { MediaTypeNames.Text.Plain }, 64ResponseBodyContentTypes = new HashSet<string> { MediaTypeNames.Text.Plain }, 189RequestBodyContentTypes = new HashSet<string> { MediaTypeNames.Text.Plain }, 190ResponseBodyContentTypes = new HashSet<string> { MediaTypeNames.Text.Plain }, 263RequestBodyContentTypes = new HashSet<string> { MediaTypeNames.Text.Plain }, 264ResponseBodyContentTypes = new HashSet<string> { MediaTypeNames.Text.Plain }, 336RequestBodyContentTypes = new HashSet<string> { MediaTypeNames.Text.Plain }, 394RequestBodyContentTypes = new HashSet<string> { MediaTypeNames.Text.Plain }, 395ResponseBodyContentTypes = new HashSet<string> { MediaTypeNames.Text.Plain }, 465RequestBodyContentTypes = new HashSet<string> { MediaTypeNames.Text.Plain }, 466ResponseBodyContentTypes = new HashSet<string> { MediaTypeNames.Text.Plain }, 532RequestBodyContentTypes = new HashSet<string> { MediaTypeNames.Text.Plain }, 533ResponseBodyContentTypes = new HashSet<string> { MediaTypeNames.Text.Plain },
System.Memory.Data (1)
System\BinaryData.cs (1)
216/// <param name="mediaType">MIME type of this data, e.g. <see cref="MediaTypeNames.Text.Plain"/>.</param>
System.Net.Mail (1)
System\Net\Mail\Attachment.cs (1)
129mediaType = MediaTypeNames.Text.Plain;