C# Class ATMLModelLibrary.model.equipment.Generic

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

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
Deserialize ( Stream s ) : Generic
Deserialize ( string input ) : Generic
Deserialize ( string input, Generic &obj ) : bool
Deserialize ( string input, Generic &obj, Exception &exception ) : bool

Deserializes workflow markup into an Generic object

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

Deserializes xml markup from file into an Generic object

SaveToFile ( string fileName, Exception &exception ) : bool

Serializes current Generic object into file

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

Serializes current Generic object into an XML string

Validate ( SchemaValidationResult errors ) : bool

Method Details

Deserialize() public static méthode

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

Deserialize() public static méthode

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

Deserialize() public static méthode

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

Deserialize() public static méthode

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

LoadFromFile() public static méthode

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

LoadFromFile() public static méthode

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

LoadFromFile() public static méthode

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

SaveToFile() public méthode

Serializes current Generic 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 Generic 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