C# Class ATMLModelLibrary.model.equipment.Specifications

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

Private Properties

Свойство Type Description

Méthodes publiques

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

Deserializes workflow markup into an Specifications object

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

Deserializes xml markup from file into an Specifications object

SaveToFile ( string fileName, Exception &exception ) : bool

Serializes current Specifications object into file

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

Serializes current Specifications object into an XML string

ShouldSerializeCertifications ( ) : bool

Test whether Certifications should be serialized

ShouldSerializeConditions ( ) : bool

Test whether Conditions should be serialized

ShouldSerializeItems ( ) : bool

Test whether Items should be serialized

Validate ( SchemaValidationResult errors ) : bool

Method Details

Deserialize() public static méthode

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

Deserialize() public static méthode

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

Deserialize() public static méthode

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

Deserialize() public static méthode

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

LoadFromFile() public static méthode

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

LoadFromFile() public static méthode

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

LoadFromFile() public static méthode

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

SaveToFile() public méthode

Serializes current Specifications 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 Specifications object into an XML string
public Serialize ( ) : string
Résultat string

ShouldSerializeCertifications() public méthode

Test whether Certifications should be serialized
public ShouldSerializeCertifications ( ) : bool
Résultat bool

ShouldSerializeConditions() public méthode

Test whether Conditions should be serialized
public ShouldSerializeConditions ( ) : bool
Résultat bool

ShouldSerializeItems() public méthode

Test whether Items should be serialized
public ShouldSerializeItems ( ) : bool
Résultat bool

Validate() public méthode

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