C# Class ATMLModelLibrary.model.signal.basic.TwoWireComp

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

Private Properties

Property Type Description

Public Methods

Method Description
Deserialize ( System s ) : TwoWireComp
Deserialize ( string input ) : TwoWireComp
Deserialize ( string input, TwoWireComp &obj ) : bool
Deserialize ( string input, TwoWireComp &obj, System &exception ) : bool

Deserializes workflow markup into an TwoWireComp object

LoadFromFile ( string fileName ) : TwoWireComp
LoadFromFile ( string fileName, TwoWireComp &obj ) : bool
LoadFromFile ( string fileName, TwoWireComp &obj, System &exception ) : bool

Deserializes xml markup from file into an TwoWireComp object

SaveToFile ( string fileName, System &exception ) : bool

Serializes current TwoWireComp object into file

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

Serializes current TwoWireComp object into an XML string

Method Details

Deserialize() public static method

public static Deserialize ( System s ) : TwoWireComp
s System
return TwoWireComp

Deserialize() public static method

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

Deserialize() public static method

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

Deserialize() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

SaveToFile() public method

Serializes current TwoWireComp object into file
public SaveToFile ( string fileName, System &exception ) : bool
fileName string full path of outupt xml file
exception System output Exception value if failed
return bool

SaveToFile() public method

public SaveToFile ( string fileName ) : void
fileName string
return void

Serialize() public method

Serializes current TwoWireComp object into an XML string
public Serialize ( ) : string
return string