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
stringThe path of the source directory to copy from.
sourceManifest
ManifestThe contents of a Manifest file describing the source directory.
destinationPath
stringThe path of the destination directory to copy to.
handler
ITaskHandlerA 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
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()