IContentTypeProvider Interface
Used to look up MIME types given a file path
Namespace: Microsoft.Owin.StaticFiles.ContentTypes
Assembly: Microsoft.Owin.StaticFiles (in Microsoft.Owin.StaticFiles.dll)
Syntax
public interface IContentTypeProvider
public interface class IContentTypeProvider
type IContentTypeProvider = interface end
Public Interface IContentTypeProvider
Methods
Name | Description | |
---|---|---|
![]() |
TryGetContentType(String, String) | Given a file path, determine the MIME type |
See Also
Microsoft.Owin.StaticFiles.ContentTypes Namespace
Return to top