C# Class ATMLModelLibrary.model.equipment.SwitchPortPin

Datei anzeigen Open project: UtrsSoftware/ATMLWorkBench Class Usage Examples

Private Properties

Property Type Description

Public Methods

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

Deserializes workflow markup into an SwitchPortPin object

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

Deserializes xml markup from file into an SwitchPortPin object

SaveToFile ( string fileName, Exception &exception ) : bool

Serializes current SwitchPortPin object into file

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

Serializes current SwitchPortPin object into an XML string

Method Details

Deserialize() public static method

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

Deserialize() public static method

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

Deserialize() public static method

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

Deserialize() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

SaveToFile() public method

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