Class ComplianceBenchmarkCollection
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents a collection of compliance benchmarks.
public class ComplianceBenchmarkCollection : Collection<ComplianceBenchmark>, IList<ComplianceBenchmark>, ICollection<ComplianceBenchmark>, IList, ICollection, IReadOnlyList<ComplianceBenchmark>, IReadOnlyCollection<ComplianceBenchmark>, IEnumerable<ComplianceBenchmark>, IEnumerable
- Inheritance
-
ComplianceBenchmarkCollection
- Implements
- Inherited Members
Remarks
The data comparer must compare only benchmark tests of the same version as benchmark result numbers may be transposed or changed.
Constructors
ComplianceBenchmarkCollection()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.ComplianceBenchmarkCollection class.
public ComplianceBenchmarkCollection()
Methods
Exists(Guid)
Determines whether a CENTREL.XIA.Configuration.Types.ComplianceBenchmark with the specified identifier exists within the collection.
public bool Exists(Guid identifier)
Parameters
identifier
GuidThe unique identifier of the CENTREL.XIA.Configuration.Types.ComplianceBenchmark to locate in GUID format.
Returns
- bool
The System.Boolean value that indicates whether a benchmark with the specified identifier exists in the collection..
FindByIdentifier(Guid)
Returns the CENTREL.XIA.Configuration.Types.ComplianceBenchmark with the specified unique identifier, or null if no result with that identifier is found.
public ComplianceBenchmark FindByIdentifier(Guid identifier)
Parameters
identifier
GuidThe unique identifier of the CENTREL.XIA.Configuration.Types.ComplianceBenchmark to locate in GUID format.
Returns
- ComplianceBenchmark
The CENTREL.XIA.Configuration.Types.ComplianceBenchmarkResult with the specified identifier.
InsertItem(int, ComplianceBenchmark)
Occurs when an item is inserted into the collection.
protected override void InsertItem(int index, ComplianceBenchmark item)
Parameters
index
intThe index where the item is to be inserted.
item
ComplianceBenchmarkThe CENTREL.XIA.Configuration.Types.ComplianceBenchmark that is to be inserted.
Sort()
Sorts the compliance benchmarks alphabetically.
public void Sort()