C# Class ATMLModelLibrary.model.equipment.Resources

Datei anzeigen Open project: UtrsSoftware/ATMLWorkBench Class Usage Examples

Private Properties

Property Type Description

Public Methods

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

Deserializes workflow markup into an Resources object

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

Deserializes xml markup from file into an Resources object

SaveToFile ( string fileName, Exception &exception ) : bool

Serializes current Resources object into file

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

Serializes current Resources object into an XML string

ShouldSerializeResource ( ) : bool

Test whether Resource should be serialized

Method Details

Deserialize() public static method

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

Deserialize() public static method

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

Deserialize() public static method

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

Deserialize() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

SaveToFile() public method

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

ShouldSerializeResource() public method

Test whether Resource should be serialized
public ShouldSerializeResource ( ) : bool
return bool