2 writes to DispositionType
Microsoft.Net.Http.Headers.Tests (2)
ContentDispositionHeaderValueTest.cs (2)
68contentDisposition.DispositionType = "attachment"; 490expected.DispositionType = "attachment";
6 references to DispositionType
Microsoft.AspNetCore.HeaderParsing.Tests (1)
ParserTests.cs (1)
150Assert.Equal("attachment", result.DispositionType);
Microsoft.Net.Http.Headers (2)
ContentDispositionHeaderValueIdentityExtensions.cs (2)
22return header.DispositionType.Equals("form-data") 35return header.DispositionType.Equals("form-data")
Microsoft.Net.Http.Headers.Tests (3)
ContentDispositionHeaderValueTest.cs (3)
45Assert.Equal("inline", contentDisposition.DispositionType.AsSpan()); 66Assert.Equal("inline", contentDisposition.DispositionType.AsSpan()); 69Assert.Equal("attachment", contentDisposition.DispositionType.AsSpan());