C# Class ATMLModelLibrary.model.common.HardwareInstance

Inheritance: ItemInstance
Show file Open project: UtrsSoftware/ATMLWorkBench Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
Deserialize ( System s ) : HardwareInstance
Deserialize ( string input ) : HardwareInstance
Deserialize ( string input, HardwareInstance &obj ) : bool
Deserialize ( string input, HardwareInstance &obj, System &exception ) : bool

Deserializes workflow markup into an HardwareInstance object

LoadFromFile ( string fileName ) : HardwareInstance
LoadFromFile ( string fileName, HardwareInstance &obj ) : bool
LoadFromFile ( string fileName, HardwareInstance &obj, System &exception ) : bool

Deserializes xml markup from file into an HardwareInstance object

SaveToFile ( string fileName, System &exception ) : bool

Serializes current HardwareInstance object into file

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

Serializes current HardwareInstance object into an XML string

ShouldSerializeComponents ( ) : bool

Test whether Components should be serialized

Method Details

Deserialize() public static method

public static Deserialize ( System s ) : HardwareInstance
s System
return HardwareInstance

Deserialize() public static method

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

Deserialize() public static method

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

Deserialize() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

SaveToFile() public method

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

SaveToFile() public method

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

Serialize() public method

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

ShouldSerializeComponents() public method

Test whether Components should be serialized
public ShouldSerializeComponents ( ) : bool
return bool