C# Class ATMLModelLibrary.model.equipment.Trigger

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

Private Properties

Property Type Description

Public Methods

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

Deserializes workflow markup into an Trigger object

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

Deserializes xml markup from file into an Trigger object

SaveToFile ( string fileName, Exception &exception ) : bool

Serializes current Trigger object into file

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

Serializes current Trigger object into an XML string

ShouldSerializeTriggerPorts ( ) : bool

Test whether TriggerPorts should be serialized

ShouldSerializeTriggerProperties ( ) : bool

Test whether TriggerProperties should be serialized

Validate ( SchemaValidationResult errors ) : bool

Method Details

Deserialize() public static method

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

Deserialize() public static method

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

Deserialize() public static method

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

Deserialize() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

SaveToFile() public method

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

ShouldSerializeTriggerPorts() public method

Test whether TriggerPorts should be serialized
public ShouldSerializeTriggerPorts ( ) : bool
return bool

ShouldSerializeTriggerProperties() public method

Test whether TriggerProperties should be serialized
public ShouldSerializeTriggerProperties ( ) : bool
return bool

Validate() public method

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