C# Class ATMLModelLibrary.model.equipment.Typical

Inheritance: Specification
Datei anzeigen Open project: UtrsSoftware/ATMLWorkBench Class Usage Examples

Private Properties

Property Type Description

Public Methods

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

Deserializes workflow markup into an Typical object

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

Deserializes xml markup from file into an Typical object

SaveToFile ( string fileName, Exception &exception ) : bool

Serializes current Typical object into file

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

Serializes current Typical object into an XML string

Method Details

Deserialize() public static method

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

Deserialize() public static method

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

Deserialize() public static method

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

Deserialize() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

SaveToFile() public method

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