C# Class ATMLModelLibrary.model.equipment.Triggers

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

Private Properties

Property Type Description

Public Methods

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

Deserializes workflow markup into an Triggers object

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

Deserializes xml markup from file into an Triggers object

SaveToFile ( string fileName, Exception &exception ) : bool

Serializes current Triggers object into file

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

Serializes current Triggers object into an XML string

ShouldSerializeTrigger ( ) : bool

Test whether Trigger should be serialized

Method Details

Deserialize() public static method

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

Deserialize() public static method

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

Deserialize() public static method

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

Deserialize() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

SaveToFile() public method

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

ShouldSerializeTrigger() public method

Test whether Trigger should be serialized
public ShouldSerializeTrigger ( ) : bool
return bool