C# Class ATMLModelLibrary.model.equipment.PowerSpecificationsDC

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

Private Properties

Property Type Description

Public Methods

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

Deserializes workflow markup into an PowerSpecificationsDC object

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

Deserializes xml markup from file into an PowerSpecificationsDC object

SaveToFile ( string fileName, Exception &exception ) : bool

Serializes current PowerSpecificationsDC object into file

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

Serializes current PowerSpecificationsDC object into an XML string

ShouldSerializeConnectorPins ( ) : bool

Test whether ConnectorPins should be serialized

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

Method Details

Deserialize() public static method

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

Deserialize() public static method

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

Deserialize() public static method

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

Deserialize() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

SaveToFile() public method

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

ShouldSerializeConnectorPins() public method

Test whether ConnectorPins should be serialized
public ShouldSerializeConnectorPins ( ) : bool
return bool

ToString() public method

public ToString ( ) : string
return string

Validate() public method

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