C# Class ZeroInstall.Publish.ImplementationUtils

Helper methods for manipulating Implementations.
Afficher le fichier Open project: 0install/0install-win Class Usage Examples

Méthodes publiques

Méthode Description
AddMissing ( [ implementation, [ handler, [ executor = null, [ keepDownloads = null ) : void

Adds missing data (by downloading and infering) to an Implementation.

Private Methods

Méthode Description
Build ( [ retrievalMethod, [ handler, [ keepDownloads = null ) : Implementation
ConvertSha256ToSha256New ( [ implementation, [ executor ) : void
GenerateDigest ( [ path, [ handler, [ keepDownloads = null ) : ManifestDigest
GenerateMissingArchive ( [ implementation, [ handler, [ executor ) : void
IsDownloadSizeMissing ( [ retrievalMethod ) : bool
IsManifestDigestMissing ( [ implementation ) : bool
UpdateDigest ( [ implementation, [ path, [ handler, [ executor, [ keepDownloads = null ) : void

Updates the ManifestDigest in an Implementation.

Method Details

AddMissing() public static méthode

Adds missing data (by downloading and infering) to an Implementation.
The user canceled the task. A file could not be downloaded from the internet. There is a problem access a temporary file. Read or write access to a temporary file is not permitted. An existing digest does not match the newly calculated one.
public static AddMissing ( [ implementation, [ handler, [ executor = null, [ keepDownloads = null ) : void
implementation [ The to add data to.
handler [ A callback object used when the the user is to be informed about progress.
executor [ Used to apply properties in an undoable fashion.
keepDownloads [ Used to retain downloaded implementations; can be null.
Résultat void