C# Class ATMLModelLibrary.model.equipment.Generic

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

Private Properties

Property Type Description

Public Methods

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

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

Deserialize() public static method

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

Deserialize() public static method

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

Deserialize() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

SaveToFile() public method

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

SaveToFile() public method

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

Serialize() public method

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

Validate() public method

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