C# Class ATMLModelLibrary.model.equipment.SwitchPort

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

Private Properties

Property Type Description

Public Methods

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

Deserializes workflow markup into an SwitchPort object

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

Deserializes xml markup from file into an SwitchPort object

SaveToFile ( string fileName, Exception &exception ) : bool

Serializes current SwitchPort object into file

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

Serializes current SwitchPort object into an XML string

ShouldSerializePin ( ) : bool

Test whether Pin should be serialized

Method Details

Deserialize() public static method

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

Deserialize() public static method

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

Deserialize() public static method

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

Deserialize() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

SaveToFile() public method

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

ShouldSerializePin() public method

Test whether Pin should be serialized
public ShouldSerializePin ( ) : bool
return bool