C# Class ATMLModelLibrary.model.equipment.Switch

Inheritance: RepeatedItem
Afficher le fichier Open project: UtrsSoftware/ATMLWorkBench

Private Properties

Свойство Type Description

Méthodes publiques

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

Deserializes workflow markup into an Switch object

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

Deserializes xml markup from file into an Switch object

SaveToFile ( string fileName, Exception &exception ) : bool

Serializes current Switch object into file

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

Serializes current Switch object into an XML string

ShouldSerializeConnections ( ) : bool

Test whether Connections should be serialized

Method Details

Deserialize() public static méthode

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

Deserialize() public static méthode

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

Deserialize() public static méthode

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

Deserialize() public static méthode

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

LoadFromFile() public static méthode

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

LoadFromFile() public static méthode

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

LoadFromFile() public static méthode

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

SaveToFile() public méthode

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

ShouldSerializeConnections() public méthode

Test whether Connections should be serialized
public ShouldSerializeConnections ( ) : bool
Résultat bool