C# Class SDC.JobType

Inheritance: SDC.ExtensionBaseType
Mostrar archivo Open project: IHE-SDC-WG/SDC-XML-Generator Class Usage Examples

Private Properties

Property Type Description

Public Methods

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

Deserializes workflow markup into an JobType object

LoadFromFile ( string fileName ) : JobType
LoadFromFile ( string fileName, Encoding encoding ) : JobType
LoadFromFile ( string fileName, Encoding encoding, JobType &obj, Exception &exception ) : bool

Deserializes xml markup from file into an JobType object

LoadFromFile ( string fileName, JobType &obj ) : bool
LoadFromFile ( string fileName, JobType &obj, Exception &exception ) : bool
SaveToFile ( string fileName, Encoding encoding, Exception &exception ) : bool

Serializes current JobType object into file

SaveToFile ( string fileName, Exception &exception ) : bool
SaveToFile ( string fileName ) : void
SaveToFile ( string fileName, Encoding encoding ) : void
Serialize ( ) : string
Serialize ( Encoding encoding ) : string

Serializes current JobType object into an XML string

ShouldSerializeDescription ( ) : bool

Test whether Description should be serialized

ShouldSerializeJobTitle ( ) : bool

Test whether JobTitle should be serialized

ShouldSerializeOrganization ( ) : bool

Test whether Organization should be serialized

ShouldSerializeStartDate ( ) : bool

Test whether StartDate should be serialized

ShouldSerializeStopDate ( ) : bool

Test whether StopDate should be serialized

Method Details

Deserialize() public static method

public static Deserialize ( Stream s ) : JobType
s System.IO.Stream
return JobType

Deserialize() public static method

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

Deserialize() public static method

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

Deserialize() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

public static LoadFromFile ( string fileName, Encoding encoding ) : JobType
fileName string
encoding System.Text.Encoding
return JobType

LoadFromFile() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

public static LoadFromFile ( string fileName, JobType &obj, Exception &exception ) : bool
fileName string
obj JobType
exception System.Exception
return bool

SaveToFile() public method

Serializes current JobType object into file
public SaveToFile ( string fileName, Encoding encoding, Exception &exception ) : bool
fileName string full path of outupt xml file
encoding System.Text.Encoding
exception System.Exception output Exception value if failed
return bool

SaveToFile() public method

public SaveToFile ( string fileName, Exception &exception ) : bool
fileName string
exception System.Exception
return bool

SaveToFile() public method

public SaveToFile ( string fileName ) : void
fileName string
return void

SaveToFile() public method

public SaveToFile ( string fileName, Encoding encoding ) : void
fileName string
encoding System.Text.Encoding
return void

Serialize() public method

public Serialize ( ) : string
return string

Serialize() public method

Serializes current JobType object into an XML string
public Serialize ( Encoding encoding ) : string
encoding System.Text.Encoding
return string

ShouldSerializeDescription() public method

Test whether Description should be serialized
public ShouldSerializeDescription ( ) : bool
return bool

ShouldSerializeJobTitle() public method

Test whether JobTitle should be serialized
public ShouldSerializeJobTitle ( ) : bool
return bool

ShouldSerializeOrganization() public method

Test whether Organization should be serialized
public ShouldSerializeOrganization ( ) : bool
return bool

ShouldSerializeStartDate() public method

Test whether StartDate should be serialized
public ShouldSerializeStartDate ( ) : bool
return bool

ShouldSerializeStopDate() public method

Test whether StopDate should be serialized
public ShouldSerializeStopDate ( ) : bool
return bool