C# Class ATMLModelLibrary.model.equipment.Switching

Mostra file Open project: UtrsSoftware/ATMLWorkBench Class Usage Examples

Private Properties

Property Type Description

Public Methods

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

Deserializes workflow markup into an Switching object

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

Deserializes xml markup from file into an Switching object

SaveToFile ( string fileName, Exception &exception ) : bool

Serializes current Switching object into file

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

Serializes current Switching object into an XML string

ShouldSerializeItems ( ) : bool

Test whether Items should be serialized

Validate ( SchemaValidationResult errors ) : bool

Method Details

Deserialize() public static method

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

Deserialize() public static method

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

Deserialize() public static method

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

Deserialize() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

SaveToFile() public method

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

ShouldSerializeItems() public method

Test whether Items should be serialized
public ShouldSerializeItems ( ) : bool
return bool

Validate() public method

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