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)
PhysicalFileHttpResult.cs (1)
61ContentType = contentType ?? ContentTypeConstants.BinaryContentType;
2 references to ContentType
Microsoft.AspNetCore.Http.Results (1)
PhysicalFileHttpResult.cs (1)
130ContentType,
Microsoft.AspNetCore.Http.Results.Tests (1)
TypedResultsTests.cs (1)
281Assert.Equal(contentType ?? "application/octet-stream", result.ContentType);