C# Class ZeroInstall.Publish.FeedBuilder

Builds simple Feeds containing a single Implementation.
Inheritance: IDisposable
显示文件 Open project: 0install/0install-win Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
Build ( ) : SignedFeed

Generates a feed as described by the properties.

CalculateDigest ( ITaskHandler handler ) : void

Calculates the ManifestDigest.

DetectCandidates ( ITaskHandler handler ) : void

Detects Candidates in the ImplementationDirectory.

Dispose ( ) : void

Deletes the TemporaryDirectory.

GenerateCommands ( ) : void

Generates Commands and EntryPoints bases on Candidates and MainCandidate.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Method Details

Build() public method

Generates a feed as described by the properties.
is null.
public Build ( ) : SignedFeed
return SignedFeed

CalculateDigest() public method

Calculates the ManifestDigest.
is null or empty. The user canceled the task. There was a problem generating the manifest. Write access to temporary files was not permitted.
public CalculateDigest ( ITaskHandler handler ) : void
handler ITaskHandler A callback object used when the the user needs to be informed about IO tasks.
return void

DetectCandidates() public method

Detects Candidates in the ImplementationDirectory.
is null or empty. The user canceled the task. There was a problem generating the manifest or detectng the executables. Write access to temporary files was not permitted.
public DetectCandidates ( ITaskHandler handler ) : void
handler ITaskHandler A callback object used when the the user needs to be informed about IO tasks.
return void

Dispose() public method

Deletes the TemporaryDirectory.
public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

GenerateCommands() public method

Generates Commands and EntryPoints bases on Candidates and MainCandidate.
is null.
public GenerateCommands ( ) : void
return void