C# Class ATMLModelLibrary.model.equipment.Specification

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

Private Properties

Свойство Type Description

Méthodes publiques

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

Deserializes workflow markup into an Specification object

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

Deserializes xml markup from file into an Specification object

SaveToFile ( string fileName, Exception &exception ) : bool

Serializes current Specification object into file

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

Serializes current Specification object into an XML string

ShouldSerializeConditions ( ) : bool

Test whether Conditions should be serialized

ShouldSerializeExclusiveOptions ( ) : bool

Test whether ExclusiveOptions should be serialized

ShouldSerializeLimits ( ) : bool

Test whether Limits should be serialized

ShouldSerializeRequiredOptions ( ) : bool

Test whether RequiredOptions should be serialized

ShouldSerializeSupplementalInformation ( ) : bool

Test whether SupplementalInformation should be serialized

Method Details

Deserialize() public static méthode

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

Deserialize() public static méthode

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

Deserialize() public static méthode

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

Deserialize() public static méthode

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

LoadFromFile() public static méthode

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

LoadFromFile() public static méthode

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

LoadFromFile() public static méthode

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

SaveToFile() public méthode

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

ShouldSerializeConditions() public méthode

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

ShouldSerializeExclusiveOptions() public méthode

Test whether ExclusiveOptions should be serialized
public ShouldSerializeExclusiveOptions ( ) : bool
Résultat bool

ShouldSerializeLimits() public méthode

Test whether Limits should be serialized
public ShouldSerializeLimits ( ) : bool
Résultat bool

ShouldSerializeRequiredOptions() public méthode

Test whether RequiredOptions should be serialized
public ShouldSerializeRequiredOptions ( ) : bool
Résultat bool

ShouldSerializeSupplementalInformation() public méthode

Test whether SupplementalInformation should be serialized
public ShouldSerializeSupplementalInformation ( ) : bool
Résultat bool