C# Class ATMLModelLibrary.model.equipment.Specifications

Datei anzeigen Open project: UtrsSoftware/ATMLWorkBench Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method 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 method

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

Deserialize() public static method

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

Deserialize() public static method

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

Deserialize() public static method

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
return bool

LoadFromFile() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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
return bool

SaveToFile() public method

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
return bool

SaveToFile() public method

public SaveToFile ( string fileName ) : void
fileName string
return void

Serialize() public method

Serializes current Specifications object into an XML string
public Serialize ( ) : string
return string

ShouldSerializeCertifications() public method

Test whether Certifications should be serialized
public ShouldSerializeCertifications ( ) : bool
return bool

ShouldSerializeConditions() public method

Test whether Conditions should be serialized
public ShouldSerializeConditions ( ) : bool
return bool

ShouldSerializeItems() public method

Test whether Items should be serialized
public ShouldSerializeItems ( ) : bool
return bool

Validate() public method

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