Class ItemTypes
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents a collection of item types.
public class ItemTypes : GlobalSerializableClassicBase
- Inheritance
-
ItemTypes
Constructors
ItemTypes()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.ItemTypes class.
public ItemTypes()
ItemTypes(bool)
Initializes a new instance of the CENTREL.XIA.Configuration.Types.ItemTypes class.
public ItemTypes(bool allItemTypes)
Parameters
allItemTypes
boolDetermines whether to apply to all item types.
ItemTypes(bool, ItemTypeCollection)
Initializes a new instance of the CENTREL.XIA.Configuration.Types.ItemTypes class.
public ItemTypes(bool allItemTypes, ItemTypeCollection itemTypes)
Parameters
allItemTypes
boolDetermines whether to apply to all item types.
itemTypes
ItemTypeCollectionThe items types to apply to.
Properties
AllItemTypes
Gets or sets whether the item types include all item types.
public bool AllItemTypes { get; set; }
Property Value
Items
Gets or sets the items in the collection.
public ItemTypeCollection Items { get; set; }
Property Value
Methods
Clone()
Returns a CENTREL.XIA.Configuration.Types.ItemTypes cloned from this object.
public ItemTypes Clone()
Returns
- ItemTypes
A CENTREL.XIA.Configuration.Types.ItemTypes.
FromXml(string)
Returns a CENTREL.XIA.Configuration.Types.ItemTypes class from the specified XML.
public static ItemTypes FromXml(string xml)
Parameters
xml
stringThe XML representation of the object.
Returns
- ItemTypes
A CENTREL.XIA.Configuration.Types.ItemTypes class.
ToString()
Returns the item types as a human readable string.
public override string ToString()
Returns
- string
The item types as a human readable string.