Class ProcessorCollection
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents a collection of processors found in a machine.
public class ProcessorCollection : Collection<Processor>, IList<Processor>, ICollection<Processor>, IList, ICollection, IReadOnlyList<Processor>, IReadOnlyCollection<Processor>, IEnumerable<Processor>, IEnumerable
- Inheritance
-
ProcessorCollection
- Implements
- Inherited Members
Constructors
ProcessorCollection()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.ProcessorCollection class.
public ProcessorCollection()
Methods
FindById(string)
Returns the CENTREL.XIA.Configuration.Types.Processor with the specified id, or null if no CENTREL.XIA.Configuration.Types.Processor with that id is found.
public Processor FindById(string deviceId)
Parameters
deviceId
stringThe identifier of the CENTREL.XIA.Configuration.Types.Processor to locate - for example "CPU0".
Returns
- Processor
The CENTREL.XIA.Configuration.Types.Processor with the specified identifier.
Sort()
Sorts the values in the collection.
public void Sort()
ToString()
Returns the processors as a human readable string, one per line.
public override string ToString()
Returns
- string
The processors as a human readable string, one per line.