Class CountBreakdownItem
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents an individual item in the count breakdown.
public class CountBreakdownItem : GlobalSerializableBase, IComparable<CountBreakdownItem>
- Inheritance
-
CountBreakdownItem
- Implements
Constructors
CountBreakdownItem()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.CountBreakdownItem class.
public CountBreakdownItem()
CountBreakdownItem(string)
Initializes a new instance of the CENTREL.XIA.Configuration.Types.CountBreakdownItem class.
public CountBreakdownItem(string name)
Parameters
name
stringThe name of the item to create.
CountBreakdownItem(string, int)
Initializes a new instance of the CENTREL.XIA.Configuration.Types.CountBreakdownItem class.
public CountBreakdownItem(string name, int count)
Parameters
Properties
Count
Gets or sets the count of this item.
public int Count { get; set; }
Property Value
Name
Gets or sets the descriptive name of this item.
public string Name { get; set; }
Property Value
Methods
CompareTo(CountBreakdownItem)
Compares two count CENTREL.XIA.Configuration.Types.CountBreakdownItem to allow sorting by name.
public int CompareTo(CountBreakdownItem other)
Parameters
other
CountBreakdownItemThe CENTREL.XIA.Configuration.Types.CountBreakdownItem to compare to.
Returns
- int
The sort order of the two CENTREL.XIA.Configuration.Types.CountBreakdownItem objects.