C# Class ATMLModelLibrary.model.equipment.Capability

Inheritance: Item
Mostra file Open project: UtrsSoftware/ATMLWorkBench Class Usage Examples

Private Properties

Property Type Description

Public Methods

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

Deserializes workflow markup into an Capability object

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

Deserializes xml markup from file into an Capability object

SaveToFile ( string fileName, Exception &exception ) : bool

Serializes current Capability object into file

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

Serializes current Capability object into an XML string

ToString ( ) : string
Validate ( SchemaValidationResult errors ) : bool

Method Details

Deserialize() public static method

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

Deserialize() public static method

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

Deserialize() public static method

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

Deserialize() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

SaveToFile() public method

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

ToString() public method

public ToString ( ) : string
return string

Validate() public method

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