Share via

FileExtensionReplacementList Class

Represents a set of file extensions that will be used to select different files based on the OptimizationMode.

Inheritance Hierarchy


Namespace:  System.Web.Optimization
Assembly:  System.Web.Optimization (in System.Web.Optimization.dll)


Public Class FileExtensionReplacementList
Dim instance As FileExtensionReplacementList
public class FileExtensionReplacementList
public ref class FileExtensionReplacementList
type FileExtensionReplacementList =  class end
public class FileExtensionReplacementList

The FileExtensionReplacementList type exposes the following members.


  Name Description
Public method FileExtensionReplacementList Initializes a new instance of the FileExtensionReplacementList class.



  Name Description
Public method Add(String) Adds a file extension which will be applied regardless of OptimizationMode.
Public method Add(String, OptimizationMode) Add a file extension for a specified OptimizationMode.
Public method Clear Clears file extension replacements.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ReplaceFileExtensions Uses the file extension replacements to select the correct version from a set of files.
Public method ToString (Inherited from Object.)


Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also


System.Web.Optimization Namespace