C# Class ATMLModelLibrary.model.equipment.Resources

Afficher le fichier Open project: UtrsSoftware/ATMLWorkBench Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode 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 méthode

public static Deserialize ( Stream s ) : Resources
s Stream
Résultat Resources

Deserialize() public static méthode

public static Deserialize ( string input ) : Resources
input string
Résultat Resources

Deserialize() public static méthode

public static Deserialize ( string input, Resources &obj ) : bool
input string
obj Resources
Résultat bool

Deserialize() public static méthode

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
Résultat bool

LoadFromFile() public static méthode

public static LoadFromFile ( string fileName ) : Resources
fileName string
Résultat Resources

LoadFromFile() public static méthode

public static LoadFromFile ( string fileName, Resources &obj ) : bool
fileName string
obj Resources
Résultat bool

LoadFromFile() public static méthode

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
Résultat bool

SaveToFile() public méthode

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
Résultat bool

SaveToFile() public méthode

public SaveToFile ( string fileName ) : void
fileName string
Résultat void

Serialize() public méthode

Serializes current Resources object into an XML string
public Serialize ( ) : string
Résultat string

ShouldSerializeResource() public méthode

Test whether Resource should be serialized
public ShouldSerializeResource ( ) : bool
Résultat bool