C# Class ATMLModelLibrary.model.equipment.Feature

Inheritance: Specification
Mostrar archivo Open project: UtrsSoftware/ATMLWorkBench Class Usage Examples

Private Properties

Property Type Description

Public Methods

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

Deserializes workflow markup into an Feature object

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

Deserializes xml markup from file into an Feature object

SaveToFile ( string fileName, Exception &exception ) : bool

Serializes current Feature object into file

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

Serializes current Feature object into an XML string

Method Details

Deserialize() public static method

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

Deserialize() public static method

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

Deserialize() public static method

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

Deserialize() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

SaveToFile() public method

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