Class CountBreakdown
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Provides a count of individual items by name.
public class CountBreakdown : GlobalSerializableBase
- Inheritance
-
CountBreakdown
Constructors
CountBreakdown()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.CountBreakdown class.
public CountBreakdown()
Properties
Items
Gets or sets the items in the collection.
public CountBreakdownCollection Items { get; set; }
Property Value
Methods
FromDataTable(DataTable)
Returns a count breakdown from the specified data table.
public static CountBreakdown FromDataTable(DataTable dataTable)
Parameters
dataTable
DataTableThe data table from which to read the
Returns
- CountBreakdown
A CENTREL.XIA.Configuration.Types.CountBreakdown from the specified data table.
FromParse(string)
Returns a CENTREL.XIA.Configuration.Types.CountBreakdown class parsed from the specified names.
public static CountBreakdown FromParse(string names)
Parameters
names
stringThe names to parse.
Returns
- CountBreakdown
A CENTREL.XIA.Configuration.Types.CountBreakdown class parsed from the specified names.
FromParse(string, string)
Returns a CENTREL.XIA.Configuration.Types.CountBreakdown class parsed from the specified names.
public static CountBreakdown FromParse(string names, string delimiter)
Parameters
Returns
- CountBreakdown
A CENTREL.XIA.Configuration.Types.CountBreakdown class parsed from the specified names.
FromXml(string)
Returns a CENTREL.XIA.Configuration.Types.CountBreakdown class from the specified XML.
public static CountBreakdown FromXml(string xml)
Parameters
xml
stringThe XML representation of the object.
Returns
- CountBreakdown
A CENTREL.XIA.Configuration.Types.CountBreakdown class.
ToString()
Returns this count breakdown object as a human readable string, with the name and count of each item written one per line.
public override string ToString()
Returns
- string
The count breakdown object as a human readable string.