Share via

IgnoreList Class

A list of filename patterns to be ignored and thereby excluded from bundles.

Inheritance Hierarchy


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


Public NotInheritable Class IgnoreList
Dim instance As IgnoreList
public sealed class IgnoreList
public ref class IgnoreList sealed
type IgnoreList =  class end
public final class IgnoreList

The IgnoreList type exposes the following members.


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



  Name Description
Public method Clear Clears entire ignore list.
Public method Equals (Inherited from Object.)
Public method FilterIgnoredFiles Filters a set of files and returns a new set that excludes ignored files.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method Ignore(String) Ignores the specified pattern regardless of the value set in EnableOptimizations.
Public method Ignore(String, OptimizationMode) Ignores the specified pattern when in the appropriate OptimizationMode.
Public method ShouldIgnore Determines whether a file should be ignored based on the ignore list.
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