C# Class ATMLModelLibrary.model.equipment.Network

ファイルを表示 Open project: UtrsSoftware/ATMLWorkBench Class Usage Examples

Private Properties

Property Type Description

Public Methods

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

Deserializes workflow markup into an Network object

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

Deserializes xml markup from file into an Network object

SaveToFile ( string fileName, Exception &exception ) : bool

Serializes current Network object into file

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

Serializes current Network object into an XML string

ShouldSerializeNode ( ) : bool

Test whether Node should be serialized

ToString ( ) : string

Method Details

Deserialize() public static method

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

Deserialize() public static method

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

Deserialize() public static method

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

Deserialize() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

SaveToFile() public method

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

ShouldSerializeNode() public method

Test whether Node should be serialized
public ShouldSerializeNode ( ) : bool
return bool

ToString() public method

public ToString ( ) : string
return string