C# Class ATML1671Translator.model.S1

Mostra file Open project: UtrsSoftware/ATMLWorkBench Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
Clone ( ) : S1

Create a clone of this S1 object

Deserialize ( Stream s ) : S1
Deserialize ( string input ) : S1
Deserialize ( string input, S1 &obj ) : bool
Deserialize ( string input, S1 &obj, Exception &exception ) : bool

Deserializes workflow markup into an S1 object

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

Deserializes xml markup from file into an S1 object

SaveToFile ( string fileName, Exception &exception ) : bool

Serializes current S1 object into file

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

Serializes current S1 object into an XML string

Method Details

Clone() public method

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

Deserialize() public static method

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

Deserialize() public static method

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

Deserialize() public static method

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

Deserialize() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

SaveToFile() public method

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