C# Class ATMLModelLibrary.model.equipment.Bus

Afficher le fichier Open project: UtrsSoftware/ATMLWorkBench Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode 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 méthode

public static Deserialize ( Stream s ) : Bus
s Stream
Résultat Bus

Deserialize() public static méthode

public static Deserialize ( string input ) : Bus
input string
Résultat Bus

Deserialize() public static méthode

public static Deserialize ( string input, Bus &obj ) : bool
input string
obj Bus
Résultat bool

Deserialize() public static méthode

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
Résultat bool

LoadFromFile() public static méthode

public static LoadFromFile ( string fileName ) : Bus
fileName string
Résultat Bus

LoadFromFile() public static méthode

public static LoadFromFile ( string fileName, Bus &obj ) : bool
fileName string
obj Bus
Résultat bool

LoadFromFile() public static méthode

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
Résultat bool

Save() public méthode

public Save ( ) : void
Résultat void

SaveToFile() public méthode

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
Résultat bool

SaveToFile() public méthode

public SaveToFile ( string fileName ) : void
fileName string
Résultat void

Serialize() public méthode

Serializes current Bus object into an XML string
public Serialize ( ) : string
Résultat string

Validate() public méthode

public Validate ( SchemaValidationResult errors ) : bool
errors SchemaValidationResult
Résultat bool