C# Class NuSpeccer.PackageFile

Afficher le fichier Open project: okb/NuSpeccer Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
Deserialize ( string xml ) : PackageFile
Deserialize ( string xml, PackageFile &obj ) : bool
Deserialize ( string xml, PackageFile &obj, System &exception ) : bool

Deserializes workflow markup into an PackageFile object

LoadFromFile ( string fileName ) : PackageFile
LoadFromFile ( string fileName, PackageFile &obj ) : bool
LoadFromFile ( string fileName, PackageFile &obj, System &exception ) : bool

Deserializes xml markup from file into an PackageFile object

SaveToFile ( string fileName, System &exception ) : bool

Serializes current PackageFile object into file

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

Serializes current PackageFile object into an XML document

Method Details

Deserialize() public static méthode

public static Deserialize ( string xml ) : PackageFile
xml string
Résultat PackageFile

Deserialize() public static méthode

public static Deserialize ( string xml, PackageFile &obj ) : bool
xml string
obj PackageFile
Résultat bool

Deserialize() public static méthode

Deserializes workflow markup into an PackageFile object
public static Deserialize ( string xml, PackageFile &obj, System &exception ) : bool
xml string string workflow markup to deserialize
obj PackageFile Output PackageFile object
exception System output Exception value if deserialize failed
Résultat bool

LoadFromFile() public static méthode

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

LoadFromFile() public static méthode

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

LoadFromFile() public static méthode

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

SaveToFile() public méthode

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

SaveToFile() public méthode

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

Serialize() public méthode

Serializes current PackageFile object into an XML document
public Serialize ( ) : string
Résultat string