Table of Contents

Class ComplianceBenchmarkSectionCollection

Namespace
CENTREL.XIA.Configuration.Types
Assembly
CENTREL.XIA.Configuration.Types.dll

Represents a collection of compliance benchmark sections.

public class ComplianceBenchmarkSectionCollection : Collection<ComplianceBenchmarkSection>, IList<ComplianceBenchmarkSection>, ICollection<ComplianceBenchmarkSection>, IList, ICollection, IReadOnlyList<ComplianceBenchmarkSection>, IReadOnlyCollection<ComplianceBenchmarkSection>, IEnumerable<ComplianceBenchmarkSection>, IEnumerable
Inheritance
ComplianceBenchmarkSectionCollection
Implements
Inherited Members

Constructors

ComplianceBenchmarkSectionCollection()

Initializes a new instance of the CENTREL.XIA.Configuration.Types.ComplianceBenchmarkSectionCollection class.

public ComplianceBenchmarkSectionCollection()

Methods

Add(int, string)

Adds a new section for the specified level1 section.

public ComplianceBenchmarkSection Add(int level1, string title)

Parameters

level1 int

The level1 section number.

title string

The title of the section.

Returns

ComplianceBenchmarkSection

The CENTREL.XIA.Configuration.Types.ComplianceBenchmarkSection added to the collection.

Exists(SerializableReferenceNumber)

Determines whether a CENTREL.XIA.Configuration.Types.ComplianceBenchmarkSection with the specified reference number exists within the collection.

public bool Exists(SerializableReferenceNumber referenceNumber)

Parameters

referenceNumber SerializableReferenceNumber

The reference number of the CENTREL.XIA.Configuration.Types.ComplianceBenchmarkSection to locate.

Returns

bool

The System.Boolean value that indicates whether a section with the specified reference number exists in the collection..

Exists(int)

Determines whether a CENTREL.XIA.Configuration.Types.ComplianceBenchmarkSection with the specified level1 section number exists within the collection.

public bool Exists(int level1)

Parameters

level1 int

The level one section number.

Returns

bool

The System.Boolean value that indicates whether a section with the specified reference number exists in the collection..

FindByLevel1SectionNumber(int)

Returns the section that are in the specified level 1 section.

public ComplianceBenchmarkSection FindByLevel1SectionNumber(int level1)

Parameters

level1 int

The level one section number.

Returns

ComplianceBenchmarkSection

The CENTREL.XIA.Configuration.Types.ComplianceBenchmarkSection for the specified level1 section number.

FindByReferenceNumber(SerializableReferenceNumber)

Returns the CENTREL.XIA.Configuration.Types.ComplianceBenchmarkSection with the specified reference number, or null if no section with that reference number is found.

public ComplianceBenchmarkSection FindByReferenceNumber(SerializableReferenceNumber referenceNumber)

Parameters

referenceNumber SerializableReferenceNumber

The reference number of the CENTREL.XIA.Configuration.Types.ComplianceBenchmarkSection to locate.

Returns

ComplianceBenchmarkSection

The CENTREL.XIA.Configuration.Types.ComplianceBenchmarkSection with the specified reference number.

InsertItem(int, ComplianceBenchmarkSection)

Occurs when an item is inserted into the collection.

protected override void InsertItem(int index, ComplianceBenchmarkSection item)

Parameters

index int

The index where the item is to be inserted.

item ComplianceBenchmarkSection

The CENTREL.XIA.Configuration.Types.ComplianceBenchmarkSection that is to be inserted.

Sort()

Sorts the Windows benchmark sections alphabetically.

public void Sort()