C# Class ATMLModelLibrary.model.equipment.SpecificationDefinition

ファイルを表示 Open project: UtrsSoftware/ATMLWorkBench Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
Deserialize ( Stream s ) : SpecificationDefinition
Deserialize ( string input ) : SpecificationDefinition
Deserialize ( string input, SpecificationDefinition &obj ) : bool
Deserialize ( string input, SpecificationDefinition &obj, Exception &exception ) : bool

Deserializes workflow markup into an SpecificationDefinition object

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

Deserializes xml markup from file into an SpecificationDefinition object

SaveToFile ( string fileName, Exception &exception ) : bool

Serializes current SpecificationDefinition object into file

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

Serializes current SpecificationDefinition object into an XML string

Method Details

Deserialize() public static method

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

Deserialize() public static method

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

Deserialize() public static method

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

Deserialize() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

SaveToFile() public method

Serializes current SpecificationDefinition 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 SpecificationDefinition object into an XML string
public Serialize ( ) : string
return string