C# Class SDC.JobType

Inheritance: SDC.ExtensionBaseType
Afficher le fichier Open project: IHE-SDC-WG/SDC-XML-Generator Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode 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 méthode

public static Deserialize ( Stream s ) : JobType
s System.IO.Stream
Résultat JobType

Deserialize() public static méthode

public static Deserialize ( string input ) : JobType
input string
Résultat JobType

Deserialize() public static méthode

public static Deserialize ( string input, JobType &obj ) : bool
input string
obj JobType
Résultat bool

Deserialize() public static méthode

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
Résultat bool

LoadFromFile() public static méthode

public static LoadFromFile ( string fileName ) : JobType
fileName string
Résultat JobType

LoadFromFile() public static méthode

public static LoadFromFile ( string fileName, Encoding encoding ) : JobType
fileName string
encoding System.Text.Encoding
Résultat JobType

LoadFromFile() public static méthode

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
Résultat bool

LoadFromFile() public static méthode

public static LoadFromFile ( string fileName, JobType &obj ) : bool
fileName string
obj JobType
Résultat bool

LoadFromFile() public static méthode

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

SaveToFile() public méthode

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
Résultat bool

SaveToFile() public méthode

public SaveToFile ( string fileName, Exception &exception ) : bool
fileName string
exception System.Exception
Résultat bool

SaveToFile() public méthode

public SaveToFile ( string fileName ) : void
fileName string
Résultat void

SaveToFile() public méthode

public SaveToFile ( string fileName, Encoding encoding ) : void
fileName string
encoding System.Text.Encoding
Résultat void

Serialize() public méthode

public Serialize ( ) : string
Résultat string

Serialize() public méthode

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

ShouldSerializeDescription() public méthode

Test whether Description should be serialized
public ShouldSerializeDescription ( ) : bool
Résultat bool

ShouldSerializeJobTitle() public méthode

Test whether JobTitle should be serialized
public ShouldSerializeJobTitle ( ) : bool
Résultat bool

ShouldSerializeOrganization() public méthode

Test whether Organization should be serialized
public ShouldSerializeOrganization ( ) : bool
Résultat bool

ShouldSerializeStartDate() public méthode

Test whether StartDate should be serialized
public ShouldSerializeStartDate ( ) : bool
Résultat bool

ShouldSerializeStopDate() public méthode

Test whether StopDate should be serialized
public ShouldSerializeStopDate ( ) : bool
Résultat bool