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)
FileContentHttpResult.cs (1)
64ContentType = contentType ?? ContentTypeConstants.BinaryContentType;
3 references to ContentType
Microsoft.AspNetCore.Http.Results (1)
FileContentHttpResult.cs (1)
120ContentType,
Microsoft.AspNetCore.Http.Results.Tests (2)
ResultsTests.cs (1)
276Assert.Equal(contentType ?? "application/octet-stream", result.ContentType);
TypedResultsTests.cs (1)
254Assert.Equal(contentType ?? "application/octet-stream", result.ContentType);