C# Class ATMLModelLibrary.model.equipment.Resource

Inheritance: RepeatedItem
ファイルを表示 Open project: UtrsSoftware/ATMLWorkBench Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method 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 method

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

Deserialize() public static method

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

Deserialize() public static method

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

Deserialize() public static method

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
return bool

LoadFromFile() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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
return bool

SaveToFile() public method

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
return bool

SaveToFile() public method

public SaveToFile ( string fileName ) : void
fileName string
return void

Serialize() public method

Serializes current Resource object into an XML string
public Serialize ( ) : string
return string

ShouldSerializeTriggers() public method

Test whether Triggers should be serialized
public ShouldSerializeTriggers ( ) : bool
return bool

ToString() public method

public ToString ( ) : string
return string

Validate() public method

public Validate ( SchemaValidationResult errors ) : bool
errors SchemaValidationResult
return bool