C# 클래스 ZeroInstall.DesktopIntegration.IntegrationManager

Manages an AppList and desktop integration via AccessPoints.
To prevent race-conditions there may only be one desktop integration class instance active at any given time. This class acquires a mutex upon calling its constructor and releases it upon calling IDisposable.Dispose.
상속: IntegrationManagerBase
파일 보기 프로젝트 열기: 0install/0install-win 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
ChangedWindowMessageID int

공개 메소드들

메소드 설명
IntegrationManager ( [ appListPath, [ handler, bool machineWide = false ) : System

Creates a new integration manager using a custom DesktopIntegration.AppList. Uses no mutex!

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

Creates a new integration manager using the default DesktopIntegration.AppList (creating a new one if missing). Performs Mutex-based locking!

보호된 메소드들

메소드 설명
AddAccessPointsInternal ( AppEntry appEntry, Feed feed, IEnumerable accessPoints ) : void
AddAppInternal ( FeedTarget target ) : AppEntry
AddAppInternal ( string petName, Requirements requirements, Feed feed ) : AppEntry
AddAppInternal ( AppEntry prototype, Feed>.Converter feedRetriever ) : void
Finish ( ) : void
RemoveAccessPointsInternal ( AppEntry appEntry, IEnumerable accessPoints ) : void
RemoveAppInternal ( AppEntry appEntry ) : void
RepairAppInternal ( AppEntry appEntry, Feed feed ) : void
UpdateAppInternal ( AppEntry appEntry, Feed feed ) : void

비공개 메소드들

메소드 설명
DeleteAppDir ( AppEntry appEntry ) : void
WriteAppDir ( AppEntry appEntry ) : void

메소드 상세

AddAccessPointsInternal() 보호된 메소드

protected AddAccessPointsInternal ( AppEntry appEntry, Feed feed, IEnumerable accessPoints ) : void
appEntry AppEntry
feed Feed
accessPoints IEnumerable
리턴 void

AddAppInternal() 보호된 메소드

protected AddAppInternal ( FeedTarget target ) : AppEntry
target ZeroInstall.Store.FeedTarget
리턴 AppEntry

AddAppInternal() 보호된 메소드

protected AddAppInternal ( string petName, Requirements requirements, Feed feed ) : AppEntry
petName string
requirements Requirements
feed Feed
리턴 AppEntry

AddAppInternal() 보호된 메소드

protected AddAppInternal ( AppEntry prototype, Feed>.Converter feedRetriever ) : void
prototype AppEntry
feedRetriever Feed>.Converter
리턴 void

Finish() 보호된 메소드

protected Finish ( ) : void
리턴 void

IntegrationManager() 공개 메소드

Creates a new integration manager using a custom DesktopIntegration.AppList. Uses no mutex!
does not existing. A problem occurs while accessing . Read or write access to file is not permitted. A problem occurs while deserializing the XML data.
public IntegrationManager ( [ appListPath, [ handler, bool machineWide = false ) : System
appListPath [ The storage location of the file.
handler [ A callback object used when the the user is to be informed about the progress of long-running operations such as downloads.
machineWide bool Apply operations machine-wide instead of just for the current user.
리턴 System

IntegrationManager() 공개 메소드

Creates a new integration manager using the default DesktopIntegration.AppList (creating a new one if missing). Performs Mutex-based locking!
A problem occurs while accessing the file. Read or write access to the file is not permitted or another desktop integration class is currently active. A problem occurs while deserializing the XML data.
public IntegrationManager ( [ handler, bool machineWide = false ) : System
handler [ A callback object used when the the user is to be informed about the progress of long-running operations such as downloads.
machineWide bool Apply operations machine-wide instead of just for the current user.
리턴 System

RemoveAccessPointsInternal() 보호된 메소드

protected RemoveAccessPointsInternal ( AppEntry appEntry, IEnumerable accessPoints ) : void
appEntry AppEntry
accessPoints IEnumerable
리턴 void

RemoveAppInternal() 보호된 메소드

protected RemoveAppInternal ( AppEntry appEntry ) : void
appEntry AppEntry
리턴 void

RepairAppInternal() 보호된 메소드

protected RepairAppInternal ( AppEntry appEntry, Feed feed ) : void
appEntry AppEntry
feed Feed
리턴 void

UpdateAppInternal() 보호된 메소드

protected UpdateAppInternal ( AppEntry appEntry, Feed feed ) : void
appEntry AppEntry
feed Feed
리턴 void

프로퍼티 상세

ChangedWindowMessageID 공개적으로 정적으로 프로퍼티

The window message ID (for use with WindowsUtils.BroadcastMessage) that signals integration changes to interested observers.
public static int ChangedWindowMessageID
리턴 int