C# Class ATMLModelLibrary.model.equipment.Switch

Inheritance: RepeatedItem
Show file Open project: UtrsSoftware/ATMLWorkBench

Private Properties

Property Type Description

Public Methods

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

Deserializes workflow markup into an Switch object

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

Deserializes xml markup from file into an Switch object

SaveToFile ( string fileName, Exception &exception ) : bool

Serializes current Switch object into file

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

Serializes current Switch object into an XML string

ShouldSerializeConnections ( ) : bool

Test whether Connections should be serialized

Method Details

Deserialize() public static method

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

Deserialize() public static method

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

Deserialize() public static method

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

Deserialize() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

SaveToFile() public method

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

ShouldSerializeConnections() public method

Test whether Connections should be serialized
public ShouldSerializeConnections ( ) : bool
return bool