Table of Contents

Class DeployDirectory

Namespace
ZeroInstall.Store.Deployment
Assembly
ZeroInstall.Store.dll

Deploys/copies files listed in a Manifest file to another directory.

[MustDisposeResource]
public class DeployDirectory : DirectoryOperation, IDisposable
Inheritance
DeployDirectory
Implements
Inherited Members

Constructors

DeployDirectory(string, Manifest, string, ITaskHandler)

Deploys/copies files listed in a Manifest file to another directory.

public DeployDirectory(string sourcePath, Manifest sourceManifest, string destinationPath, ITaskHandler handler)

Parameters

sourcePath string

The path of the source directory to copy from.

sourceManifest Manifest

The contents of a Manifest file describing the source directory.

destinationPath string

The path of the destination directory to copy to.

handler ITaskHandler

A callback object used when the user needs to be asked questions or informed about IO tasks.

Properties

DestinationPath

The path of the destination directory. May already exist.

public string DestinationPath { get; }

Property Value

string

Methods

OnCommit()

Template method to commit the changes made by OnStage().

protected override void OnCommit()

OnRollback()

Template method to revert any changes made by OnStage().

protected override void OnRollback()

OnStage()

Template method to stage changes.

protected override void OnStage()