C# Class ATMLModelLibrary.model.equipment.Resource

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

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
Deserialize ( Stream s ) : Resource
Deserialize ( string input ) : Resource
Deserialize ( string input, Resource &obj ) : bool
Deserialize ( string input, Resource &obj, Exception &exception ) : bool

Deserializes workflow markup into an Resource object

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

Deserializes xml markup from file into an Resource object

SaveToFile ( string fileName, Exception &exception ) : bool

Serializes current Resource object into file

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

Serializes current Resource object into an XML string

ShouldSerializeTriggers ( ) : bool

Test whether Triggers should be serialized

ToString ( ) : string
Validate ( SchemaValidationResult errors ) : bool

Method Details

Deserialize() public static méthode

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

Deserialize() public static méthode

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

Deserialize() public static méthode

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

Deserialize() public static méthode

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

LoadFromFile() public static méthode

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

LoadFromFile() public static méthode

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

LoadFromFile() public static méthode

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

SaveToFile() public méthode

Serializes current Resource 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 Resource object into an XML string
public Serialize ( ) : string
Résultat string

ShouldSerializeTriggers() public méthode

Test whether Triggers should be serialized
public ShouldSerializeTriggers ( ) : bool
Résultat bool

ToString() public méthode

public ToString ( ) : string
Résultat string

Validate() public méthode

public Validate ( SchemaValidationResult errors ) : bool
errors SchemaValidationResult
Résultat bool