C# Class ATML1671Translator.model.instrument

显示文件 Open project: UtrsSoftware/ATMLWorkBench Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
Clone ( ) : instrument

Create a clone of this instrument object

Deserialize ( string input, instrument &obj ) : bool
Deserialize ( string input, instrument &obj, Exception &exception ) : bool

Deserializes workflow markup into an instrument object

Deserialize ( Stream s ) : instrument
Deserialize ( string input ) : instrument
LoadFromFile ( string fileName, instrument &obj ) : bool
LoadFromFile ( string fileName, instrument &obj, Exception &exception ) : bool

Deserializes xml markup from file into an instrument object

LoadFromFile ( string fileName ) : instrument
SaveToFile ( string fileName, Exception &exception ) : bool

Serializes current instrument object into file

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

Serializes current instrument object into an XML string

instrument ( ) : System

Method Details

Clone() public method

Create a clone of this instrument object
public Clone ( ) : instrument
return instrument

Deserialize() public static method

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

Deserialize() public static method

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

Deserialize() public static method

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

Deserialize() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

SaveToFile() public method

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

instrument() public method

public instrument ( ) : System
return System