C# Class ATMLModelLibrary.model.test.Event

Datei anzeigen Open project: UtrsSoftware/ATMLWorkBench Class Usage Examples

Private Properties

Property Type Description

Public Methods

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

Deserializes workflow markup into an Event object

Event ( ) : ATMLModelLibrary.model.common
LoadFromFile ( string fileName ) : Event
LoadFromFile ( string fileName, Event &obj ) : bool
LoadFromFile ( string fileName, Event &obj, System &exception ) : bool

Deserializes xml markup from file into an Event object

SaveToFile ( string fileName, System &exception ) : bool

Serializes current Event object into file

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

Serializes current Event object into an XML string

ShouldSerializeData ( ) : bool

Test whether Data should be serialized

ShouldSerializeMessage ( ) : bool

Test whether Message should be serialized

ShouldSerializeReference ( ) : bool

Test whether Reference should be serialized

Method Details

Deserialize() public static method

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

Deserialize() public static method

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

Deserialize() public static method

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

Deserialize() public static method

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

Event() public method

public Event ( ) : ATMLModelLibrary.model.common
return ATMLModelLibrary.model.common

LoadFromFile() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

SaveToFile() public method

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

ShouldSerializeData() public method

Test whether Data should be serialized
public ShouldSerializeData ( ) : bool
return bool

ShouldSerializeMessage() public method

Test whether Message should be serialized
public ShouldSerializeMessage ( ) : bool
return bool

ShouldSerializeReference() public method

Test whether Reference should be serialized
public ShouldSerializeReference ( ) : bool
return bool