C# 클래스 ZeroInstall.Services.Feeds.CatalogManager

Provides access to remote and local Catalogs. Handles downloading, signature verification and caching.
상속: ICatalogManager
파일 보기 프로젝트 열기: 0install/0install-win 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
DefaultSource FeedUri

공개 메소드들

메소드 설명
AddSource ( FeedUri uri ) : bool
CatalogManager ( [ trustManager, [ handler ) : System

Creates a new catalog manager.

DownloadCatalog ( FeedUri source ) : Catalog
RemoveSource ( FeedUri uri ) : bool
SetSources ( [ uris ) : void

Sets the list of catalog sources in a configuration file.

비공개 메소드들

메소드 설명
GetCached ( ) : Catalog
GetOnline ( ) : Catalog
GetSources ( ) : FeedUri[]
SaveCache ( [ catalog ) : void

Saves a merged Catalog to the cache file for later retrieval by GetCached.

메소드 상세

AddSource() 공개 메소드

public AddSource ( FeedUri uri ) : bool
uri FeedUri
리턴 bool

CatalogManager() 공개 메소드

Creates a new catalog manager.
public CatalogManager ( [ trustManager, [ handler ) : System
trustManager [ Methods for verifying signatures and user trust.
handler [ A callback object used when the the user needs to be informed about progress.
리턴 System

DownloadCatalog() 공개 메소드

public DownloadCatalog ( FeedUri source ) : Catalog
source FeedUri
리턴 Catalog

RemoveSource() 공개 메소드

public RemoveSource ( FeedUri uri ) : bool
uri FeedUri
리턴 bool

SetSources() 공개 정적인 메소드

Sets the list of catalog sources in a configuration file.
There was a problem writing a configuration file. Access to a configuration file was not permitted.
public static SetSources ( [ uris ) : void
uris [ The list of catalog sources to use from now on.
리턴 void

프로퍼티 상세

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

The default Catalog source used if no other is specified.
public static FeedUri DefaultSource
리턴 FeedUri