C# Class ATMLModelLibrary.model.equipment.TriggerPort

ファイルを表示 Open project: UtrsSoftware/ATMLWorkBench Class Usage Examples

Private Properties

Property Type Description

Public Methods

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

Deserializes workflow markup into an TriggerPort object

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

Deserializes xml markup from file into an TriggerPort object

SaveToFile ( string fileName, Exception &exception ) : bool

Serializes current TriggerPort object into file

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

Serializes current TriggerPort object into an XML string

Method Details

Deserialize() public static method

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

Deserialize() public static method

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

Deserialize() public static method

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

Deserialize() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

SaveToFile() public method

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