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

Common base class for deployment operations that operate on directories with Implementations.Manifests.
Inheritance: NanoByte.Common.StagedOperation
Afficher le fichier Open project: 0install/0install-win

Private Properties

Свойство Type Description

Méthodes protégées

Méthode Description
DirectoryOperation ( [ path, [ manifest, [ handler ) : System

Creates a new manifest directory task.

Dispose ( bool disposing ) : void
Randomize ( string path ) : string

Appends a random string to a file path.

UnlockFiles ( IEnumerable files ) : void

Uses WindowsRestartManager to close any applications that have open references to the specified files if possible and removes read-only attributes.

Closed applications will be restarted by Dispose.

Method Details

DirectoryOperation() protected méthode

Creates a new manifest directory task.
protected DirectoryOperation ( [ path, [ manifest, [ handler ) : System
path [ The path of the directory to operate on.
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.
Résultat System

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

Randomize() protected static méthode

Appends a random string to a file path.
protected static Randomize ( string path ) : string
path string
Résultat string

UnlockFiles() protected méthode

Uses WindowsRestartManager to close any applications that have open references to the specified files if possible and removes read-only attributes.
Closed applications will be restarted by Dispose.
protected UnlockFiles ( IEnumerable files ) : void
files IEnumerable
Résultat void