C# Class ATMLModelLibrary.model.equipment.PowerSpecifications

Mostrar archivo Open project: UtrsSoftware/ATMLWorkBench Class Usage Examples

Private Properties

Property Type Description

Public Methods

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

Deserializes workflow markup into an PowerSpecifications object

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

Deserializes xml markup from file into an PowerSpecifications object

SaveToFile ( string fileName, Exception &exception ) : bool

Serializes current PowerSpecifications object into file

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

Serializes current PowerSpecifications object into an XML string

ShouldSerializeItems ( ) : bool

Test whether Items should be serialized

Method Details

Deserialize() public static method

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

Deserialize() public static method

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

Deserialize() public static method

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

Deserialize() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

SaveToFile() public method

Serializes current PowerSpecifications 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 PowerSpecifications object into an XML string
public Serialize ( ) : string
return string

ShouldSerializeItems() public method

Test whether Items should be serialized
public ShouldSerializeItems ( ) : bool
return bool