Class IisOutputCachingRuleCollection
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents a collection of IIS output caching rules.
public class IisOutputCachingRuleCollection : Collection<IisOutputCachingRule>, IList<IisOutputCachingRule>, ICollection<IisOutputCachingRule>, IList, ICollection, IReadOnlyList<IisOutputCachingRule>, IReadOnlyCollection<IisOutputCachingRule>, IEnumerable<IisOutputCachingRule>, IEnumerable
- Inheritance
-
IisOutputCachingRuleCollection
- Implements
- Inherited Members
Constructors
IisOutputCachingRuleCollection()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.IisOutputCachingRuleCollection class.
public IisOutputCachingRuleCollection()
Methods
Exists(string)
Returns a System.Boolean value that indicates whether a CENTREL.XIA.Configuration.Types.IisOutputCachingRule with the specified extension exists within the collection.
public bool Exists(string extension)
Parameters
extension
stringThe extension of the CENTREL.XIA.Configuration.Types.IisOutputCachingRule to locate.
Returns
- bool
A System.Boolean value that indicates whether a CENTREL.XIA.Configuration.Types.IisOutputCachingRule with the specified extension exists within the collection.
FindByExtension(string)
Returns the CENTREL.XIA.Configuration.Types.IisOutputCachingRule with the specified extension, or null if no CENTREL.XIA.Configuration.Types.IisOutputCachingRule with the specified extension is found.
public IisOutputCachingRule FindByExtension(string extension)
Parameters
extension
stringThe extension of the CENTREL.XIA.Configuration.Types.IisOutputCachingRule to locate.
Returns
- IisOutputCachingRule
The CENTREL.XIA.Configuration.Types.IisOutputCachingRule with the specified extension.
Sort()
Sorts the values in the collection.
public void Sort()