C# Class ATML1671Translator.model.instruments

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

Private Properties

Property Type Description

Public Methods

Method Description
Clone ( ) : instruments

Create a clone of this instruments object

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

Deserializes workflow markup into an instruments object

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

Deserializes xml markup from file into an instruments object

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

Serializes current instruments object into file

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

Serializes current instruments object into an XML string

instruments ( ) : System

Method Details

Clone() public method

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

Deserialize() public static method

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

Deserialize() public static method

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

Deserialize() public static method

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

Deserialize() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

SaveToFile() public method

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

instruments() public method

public instruments ( ) : System
return System