C# Class ZeroInstall.Store.Implementations.Deployment.ClearDirectory

Deletes files listed in a Manifest file from a directory.
Inheritance: DirectoryOperation
Mostra file Open project: 0install/0install-win Class Usage Examples

Public Methods

Method Description
ClearDirectory ( [ path, [ manifest, [ handler ) : System

Creates a new directory clear task.

Protected Methods

Method Description
OnCommit ( ) : void
OnRollback ( ) : void
OnStage ( ) : void

Method Details

ClearDirectory() public method

Creates a new directory clear task.
public ClearDirectory ( [ path, [ manifest, [ handler ) : System
path [ The path of the directory to clear.
manifest [ The contents of a file describing the directory.
handler [ A callback object used when the the user needs to be asked questions or informed about IO tasks.
return System

OnCommit() protected method

protected OnCommit ( ) : void
return void

OnRollback() protected method

protected OnRollback ( ) : void
return void

OnStage() protected method

protected OnStage ( ) : void
return void