C# Класс ZeroInstall.Store.ManagerBase

Common base class for managers that need an ITaskHandler and Mutex-based locking.
Наследование: IDisposable
Показать файл Открыть проект

Защищенные свойства (Protected)

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

Открытые методы

Метод Описание
Dispose ( ) : void

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

Метод Описание
AquireMutex ( ) : void

Tries to aquire a mutex with the name MutexName. Call this at the end of your constructors.

Dispose ( bool disposing ) : void

Releases the mutex.

ManagerBase ( [ handler, bool machineWide = false ) : System

Creates a new manager.

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

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

Tries to aquire a mutex with the name MutexName. Call this at the end of your constructors.
Another process is already holding the mutex.
protected AquireMutex ( ) : void
Результат void

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

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

Releases the mutex.
protected Dispose ( bool disposing ) : void
disposing bool true if called manually and not by the garbage collector.
Результат void

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

Creates a new manager.
protected ManagerBase ( [ handler, bool machineWide = false ) : System
handler [ A callback object used when the the user needs to be asked questions or informed about download and IO tasks.
machineWide bool Apply operations machine-wide instead of just for the current user.
Результат System

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

Handler защищенное свойство

A callback object used when the the user needs to be asked questions or informed about download and IO tasks.
protected ITaskHandler Handler
Результат ITaskHandler