C# Class ATMLModelLibrary.model.equipment.OperationalRequirements

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

Private Properties

Property Type Description

Public Methods

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

Deserializes workflow markup into an OperationalRequirements object

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

Deserializes xml markup from file into an OperationalRequirements object

SaveToFile ( string fileName, Exception &exception ) : bool

Serializes current OperationalRequirements object into file

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

Serializes current OperationalRequirements object into an XML string

ShouldSerializeOperationalRequirement ( ) : bool

Test whether OperationalRequirement should be serialized

Validate ( SchemaValidationResult errors ) : bool

Method Details

Deserialize() public static method

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

Deserialize() public static method

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

Deserialize() public static method

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

Deserialize() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

SaveToFile() public method

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

ShouldSerializeOperationalRequirement() public method

Test whether OperationalRequirement should be serialized
public ShouldSerializeOperationalRequirement ( ) : bool
return bool

Validate() public method

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