C# Class NuSpeccer.PackageMetadata

Mostra file Open project: okb/NuSpeccer Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
Deserialize ( string xml ) : PackageMetadata
Deserialize ( string xml, PackageMetadata &obj ) : bool
Deserialize ( string xml, PackageMetadata &obj, System &exception ) : bool

Deserializes workflow markup into an PackageMetadata object

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

Deserializes xml markup from file into an PackageMetadata object

PackageMetadata ( ) : System
SaveToFile ( string fileName, System &exception ) : bool

Serializes current PackageMetadata object into file

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

Serializes current PackageMetadata object into an XML document

Method Details

Deserialize() public static method

public static Deserialize ( string xml ) : PackageMetadata
xml string
return PackageMetadata

Deserialize() public static method

public static Deserialize ( string xml, PackageMetadata &obj ) : bool
xml string
obj PackageMetadata
return bool

Deserialize() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

PackageMetadata() public method

public PackageMetadata ( ) : System
return System

SaveToFile() public method

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