C# Class ATMLModelLibrary.model.equipment.Ethernet

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

Private Properties

Property Type Description

Public Methods

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

Deserializes workflow markup into an Ethernet object

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

Deserializes xml markup from file into an Ethernet object

SaveToFile ( string fileName, Exception &exception ) : bool

Serializes current Ethernet object into file

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

Serializes current Ethernet object into an XML string

ToString ( ) : string

Method Details

Deserialize() public static method

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

Deserialize() public static method

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

Deserialize() public static method

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

Deserialize() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

SaveToFile() public method

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

ToString() public method

public ToString ( ) : string
return string