C# Class ATMLModelLibrary.model.equipment.HardwareItemDescriptionComponent

Inheritance: ATMLModelLibrary.model.common.ItemDescriptionReference
Show file Open project: UtrsSoftware/ATMLWorkBench Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
Deserialize ( Stream s ) : HardwareItemDescriptionComponent
Deserialize ( string input ) : HardwareItemDescriptionComponent
Deserialize ( string input, HardwareItemDescriptionComponent &obj ) : bool
Deserialize ( string input, HardwareItemDescriptionComponent &obj, Exception &exception ) : bool

Deserializes workflow markup into an HardwareItemDescriptionComponent object

LoadFromFile ( string fileName ) : HardwareItemDescriptionComponent
LoadFromFile ( string fileName, HardwareItemDescriptionComponent &obj ) : bool
LoadFromFile ( string fileName, HardwareItemDescriptionComponent &obj, Exception &exception ) : bool

Deserializes xml markup from file into an HardwareItemDescriptionComponent object

SaveToFile ( string fileName, Exception &exception ) : bool

Serializes current HardwareItemDescriptionComponent object into file

SaveToFile ( string fileName ) : void
Serialize ( ) : string

Serializes current HardwareItemDescriptionComponent object into an XML string

ToString ( ) : string
Validate ( SchemaValidationResult errors ) : bool

Method Details

Deserialize() public static method

public static Deserialize ( Stream s ) : HardwareItemDescriptionComponent
s Stream
return HardwareItemDescriptionComponent

Deserialize() public static method

public static Deserialize ( string input ) : HardwareItemDescriptionComponent
input string
return HardwareItemDescriptionComponent

Deserialize() public static method

public static Deserialize ( string input, HardwareItemDescriptionComponent &obj ) : bool
input string
obj HardwareItemDescriptionComponent
return bool

Deserialize() public static method

Deserializes workflow markup into an HardwareItemDescriptionComponent object
public static Deserialize ( string input, HardwareItemDescriptionComponent &obj, Exception &exception ) : bool
input string string workflow markup to deserialize
obj HardwareItemDescriptionComponent Output HardwareItemDescriptionComponent object
exception System.Exception output Exception value if deserialize failed
return bool

LoadFromFile() public static method

public static LoadFromFile ( string fileName ) : HardwareItemDescriptionComponent
fileName string
return HardwareItemDescriptionComponent

LoadFromFile() public static method

public static LoadFromFile ( string fileName, HardwareItemDescriptionComponent &obj ) : bool
fileName string
obj HardwareItemDescriptionComponent
return bool

LoadFromFile() public static method

Deserializes xml markup from file into an HardwareItemDescriptionComponent object
public static LoadFromFile ( string fileName, HardwareItemDescriptionComponent &obj, Exception &exception ) : bool
fileName string string xml file to load and deserialize
obj HardwareItemDescriptionComponent Output HardwareItemDescriptionComponent object
exception System.Exception output Exception value if deserialize failed
return bool

SaveToFile() public method

Serializes current HardwareItemDescriptionComponent object into file
public SaveToFile ( string fileName, Exception &exception ) : bool
fileName string full path of outupt xml file
exception System.Exception output Exception value if failed
return bool

SaveToFile() public method

public SaveToFile ( string fileName ) : void
fileName string
return void

Serialize() public method

Serializes current HardwareItemDescriptionComponent object into an XML string
public Serialize ( ) : string
return string

ToString() public method

public ToString ( ) : string
return string

Validate() public method

public Validate ( SchemaValidationResult errors ) : bool
errors SchemaValidationResult
return bool