C# Class ATML1671Translator.model.settings

Exibir arquivo Open project: UtrsSoftware/ATMLWorkBench Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
Clone ( ) : settings

Create a clone of this settings object

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

Deserializes workflow markup into an settings object

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

Deserializes xml markup from file into an settings object

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

Serializes current settings object into file

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

Serializes current settings object into an XML string

settings ( ) : System

Method Details

Clone() public method

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

Deserialize() public static method

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

Deserialize() public static method

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

Deserialize() public static method

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

Deserialize() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

SaveToFile() public method

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

settings() public method

public settings ( ) : System
return System