C# Class ATMLModelLibrary.model.equipment.USB

Inheritance: Bus
Mostrar archivo Open project: UtrsSoftware/ATMLWorkBench Class Usage Examples

Private Properties

Property Type Description

Public Methods

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

Deserializes workflow markup into an USB object

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

Deserializes xml markup from file into an USB object

SaveToFile ( string fileName, Exception &exception ) : bool

Serializes current USB object into file

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

Serializes current USB object into an XML string

ToString ( ) : string

Method Details

Deserialize() public static method

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

Deserialize() public static method

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

Deserialize() public static method

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

Deserialize() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

SaveToFile() public method

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

ToString() public method

public ToString ( ) : string
return string