22 references to Plain
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (7)
Logging\AcceptanceTests.cs (6)
72
context.Response.ContentType = MediaTypeNames.Text.
Plain
;
89
context.Response.ContentType = MediaTypeNames.Text.
Plain
;
154
[InlineData(MediaTypeNames.Text.
Plain
, true)]
211
[InlineData(MediaTypeNames.Text.
Plain
, true)]
283
x.MediaTypeOptions.AddText(MediaTypeNames.Text.
Plain
);
599
x.MediaTypeOptions.AddText(MediaTypeNames.Text.
Plain
);
Logging\HeaderReaderTests.cs (1)
22
var headers = new HeaderDictionary(new Dictionary<string, StringValues> { [HeaderNames.Accept] = MediaTypeNames.Text.
Plain
});
Microsoft.Extensions.Http.Diagnostics.Tests (13)
Logging\HttpRequestReaderTest.cs (13)
63
RequestBodyContentTypes = new HashSet<string> { MediaTypeNames.Text.
Plain
},
64
ResponseBodyContentTypes = new HashSet<string> { MediaTypeNames.Text.
Plain
},
189
RequestBodyContentTypes = new HashSet<string> { MediaTypeNames.Text.
Plain
},
190
ResponseBodyContentTypes = new HashSet<string> { MediaTypeNames.Text.
Plain
},
263
RequestBodyContentTypes = new HashSet<string> { MediaTypeNames.Text.
Plain
},
264
ResponseBodyContentTypes = new HashSet<string> { MediaTypeNames.Text.
Plain
},
336
RequestBodyContentTypes = new HashSet<string> { MediaTypeNames.Text.
Plain
},
394
RequestBodyContentTypes = new HashSet<string> { MediaTypeNames.Text.
Plain
},
395
ResponseBodyContentTypes = new HashSet<string> { MediaTypeNames.Text.
Plain
},
465
RequestBodyContentTypes = new HashSet<string> { MediaTypeNames.Text.
Plain
},
466
ResponseBodyContentTypes = new HashSet<string> { MediaTypeNames.Text.
Plain
},
532
RequestBodyContentTypes = new HashSet<string> { MediaTypeNames.Text.
Plain
},
533
ResponseBodyContentTypes = 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)
129
mediaType = MediaTypeNames.Text.
Plain
;