C# Class ATMLModelLibrary.model.equipment.Item

Datei anzeigen Open project: UtrsSoftware/ATMLWorkBench

Private Properties

Property Type Description

Public Methods

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

Deserializes workflow markup into an Item object

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

Deserializes xml markup from file into an Item object

SaveToFile ( string fileName, Exception &exception ) : bool

Serializes current Item object into file

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

Serializes current Item object into an XML string

Method Details

Deserialize() public static method

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

Deserialize() public static method

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

Deserialize() public static method

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

Deserialize() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

SaveToFile() public method

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