Table of Contents

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 string

The 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

name string

The name of the item to create.

count int

The count of the item.

Properties

Count

Gets or sets the count of this item.

public int Count { get; set; }

Property Value

int

Name

Gets or sets the descriptive name of this item.

public string Name { get; set; }

Property Value

string

Methods

CompareTo(CountBreakdownItem)

Compares two count CENTREL.XIA.Configuration.Types.CountBreakdownItem to allow sorting by name.

public int CompareTo(CountBreakdownItem other)

Parameters

other CountBreakdownItem

The CENTREL.XIA.Configuration.Types.CountBreakdownItem to compare to.

Returns

int

The sort order of the two CENTREL.XIA.Configuration.Types.CountBreakdownItem objects.