Class
XmlFileMimeMappings

This class is used to deserialize and store MIME-type-to-file-extension mappings from given XML file.

Definition

Namespace:Fiddler

Assembly:FiddlerCore.dll

Syntax:

cs-api-definition
public class XmlFileMimeMappings : IEnumerable<MimeMap>, IEnumerable

Inheritance: objectXmlFileMimeMappings

Implements: IEnumerableIEnumerable<MimeMap>

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()

Constructors

XmlFileMimeMappings(string)

Initializes new instance of XmlFileMimeMappings with the specified file path.

Declaration

cs-api-definition
public XmlFileMimeMappings(string filePath)

Parameters

filePath

string

A relative or absolute path to the XML file.

Methods

GetEnumerator()

Returns an enumerator that iterates through the collection.

Declaration

cs-api-definition
public IEnumerator<MimeMap> GetEnumerator()

Returns

IEnumerator<MimeMap>

An enumerator that can be used to iterate through the collection.

Implements IEnumerable<MimeMap>.GetEnumerator()