C# Класс ZeroInstall.Store.Implementations.Deployment.DirectoryOperation

Common base class for deployment operations that operate on directories with Implementations.Manifests.
Наследование: NanoByte.Common.StagedOperation
Показать файл Открыть проект

Private Properties

Свойство Тип Описание

Защищенные методы

Метод Описание
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.

Описание методов

DirectoryOperation() защищенный Метод

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.
Результат System

Dispose() защищенный Метод

protected Dispose ( bool disposing ) : void
disposing bool
Результат void

Randomize() защищенный статический Метод

Appends a random string to a file path.
protected static Randomize ( string path ) : string
path string
Результат string

UnlockFiles() защищенный Метод

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
Результат void