Class RegistryBasedMimeTypeResolver
Inheritance
System.Object
RegistryBasedMimeTypeResolver
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Web.Internal
Assembly: EPiServer.Framework.dll
Version: 10.10.4Syntax
public class RegistryBasedMimeTypeResolver : IMimeTypeResolver
Constructors
RegistryBasedMimeTypeResolver(IMimeTypeRegistry)
Declaration
public RegistryBasedMimeTypeResolver(IMimeTypeRegistry mimeTypeRegistry)
Parameters
Type | Name | Description |
---|---|---|
IMimeTypeRegistry | mimeTypeRegistry |
Properties
DefaultMimeType
Declaration
public string DefaultMimeType { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
GetMimeMapping(String)
Declaration
public string GetMimeMapping(string fileName)
Parameters
Type | Name | Description |
---|---|---|
System.String | fileName |
Returns
Type | Description |
---|---|
System.String |