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