MediaTypeProvider Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A default implementation of IMediaTypeProvider which gets the media type from an minimalistic in-memory collection without any external dependencies.
public class MediaTypeProvider : Microsoft.WindowsAzure.Mobile.Service.Content.IMediaTypeProvider
type MediaTypeProvider = class
interface IMediaTypeProvider
Public Class MediaTypeProvider
Implements IMediaTypeProvider
- Inheritance
-
MediaTypeProvider
- Implements
Constructors
MediaTypeProvider(IDictionary<String,MediaTypeHeaderValue>) |
Creates a new instance of the MediaTypeProvider class using the set of file path
extension to media type mappings provided by |
Methods
GetMediaType(String) |
Returns the media type for the specified file name. |