C# Class ATMLModelLibrary.model.common.Interface

Show file Open project: UtrsSoftware/ATMLWorkBench Class Usage Examples

Private Properties

Property Type Description

Public Methods

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

Deserializes workflow markup into an Interface object

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

Deserializes xml markup from file into an Interface object

SaveToFile ( string fileName, System &exception ) : bool

Serializes current Interface object into file

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

Serializes current Interface object into an XML string

ShouldSerializePorts ( ) : bool

Test whether Ports should be serialized

ToString ( ) : string
Validate ( SchemaValidationResult errors ) : bool

Method Details

Deserialize() public static method

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

Deserialize() public static method

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

Deserialize() public static method

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

Deserialize() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

SaveToFile() public method

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

ShouldSerializePorts() public method

Test whether Ports should be serialized
public ShouldSerializePorts ( ) : bool
return bool

ToString() public method

public ToString ( ) : string
return string

Validate() public method

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