C# 클래스 ZeroInstall.Store.ManagerBase

Common base class for managers that need an ITaskHandler and Mutex-based locking.
상속: IDisposable
파일 보기 프로젝트 열기: 0install/0install-win

보호된 프로퍼티들

프로퍼티 타입 설명
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