Implemented interface members:
property
ContentType
Microsoft.AspNetCore.Http.IFileHttpResult.ContentType
property
ContentType
Microsoft.AspNetCore.Http.IContentTypeHttpResult.ContentType
1 write to ContentType
Microsoft.AspNetCore.Http.Results (1)
PushStreamHttpResult.cs (1)
63ContentType = contentType ?? "application/octet-stream";
6 references to ContentType
Microsoft.AspNetCore.Http.Results (1)
PushStreamHttpResult.cs (1)
114ContentType,
Microsoft.AspNetCore.Http.Results.Tests (5)
PushStreamResultTests.cs (3)
27Assert.Equal("application/octet-stream", result.ContentType); 43Assert.Equal(expectedMediaType, result.ContentType); 67Assert.Equal(expectedMediaType, result.ContentType);
ResultsTests.cs (1)
321Assert.Equal(contentType ?? "application/octet-stream", pushStreamResult.ContentType);
TypedResultsTests.cs (1)
405Assert.Equal(contentType ?? "application/octet-stream", pushStreamResult.ContentType);