C# Class ATMLModelLibrary.model.common.SoftwareInstance

Inheritance: ItemInstance
Show file Open project: UtrsSoftware/ATMLWorkBench Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
Deserialize ( System s ) : SoftwareInstance
Deserialize ( string input ) : SoftwareInstance
Deserialize ( string input, SoftwareInstance &obj ) : bool
Deserialize ( string input, SoftwareInstance &obj, System &exception ) : bool

Deserializes workflow markup into an SoftwareInstance object

LoadFromFile ( string fileName ) : SoftwareInstance
LoadFromFile ( string fileName, SoftwareInstance &obj ) : bool
LoadFromFile ( string fileName, SoftwareInstance &obj, System &exception ) : bool

Deserializes xml markup from file into an SoftwareInstance object

SaveToFile ( string fileName, System &exception ) : bool

Serializes current SoftwareInstance object into file

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

Serializes current SoftwareInstance object into an XML string

Method Details

Deserialize() public static method

public static Deserialize ( System s ) : SoftwareInstance
s System
return SoftwareInstance

Deserialize() public static method

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

Deserialize() public static method

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

Deserialize() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

SaveToFile() public method

Serializes current SoftwareInstance object into file
public SaveToFile ( string fileName, System &exception ) : bool
fileName string full path of outupt xml file
exception System output Exception value if failed
return bool

SaveToFile() public method

public SaveToFile ( string fileName ) : void
fileName string
return void

Serialize() public method

Serializes current SoftwareInstance object into an XML string
public Serialize ( ) : string
return string