C# Class ATMLModelLibrary.model.equipment.Bus

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

Private Properties

Property Type Description

Public Methods

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

Deserializes workflow markup into an Bus object

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

Deserializes xml markup from file into an Bus object

Save ( ) : void
SaveToFile ( string fileName, Exception &exception ) : bool

Serializes current Bus object into file

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

Serializes current Bus object into an XML string

Validate ( SchemaValidationResult errors ) : bool

Method Details

Deserialize() public static method

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

Deserialize() public static method

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

Deserialize() public static method

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

Deserialize() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

Save() public method

public Save ( ) : void
return void

SaveToFile() public method

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

Validate() public method

public Validate ( SchemaValidationResult errors ) : bool
errors SchemaValidationResult
return bool