C# 클래스 Candy.Client.Models.ApplicationManager

상속: NotificationObject
파일 보기 프로젝트 열기: Wabyon/Candy 1 사용 예제들

Private Properties

프로퍼티 타입 설명
EnumerateParents IEnumerable
RaiseError void
RegisterMeIfNotRegistered void
ScanCommonPrefix string

공개 메소드들

메소드 설명
ApplicationManager ( IStateRepository repository ) : System

使用する IStateRepository を指定して、ApplicationManager クラスの新しいインスタンスを初期化します。

AutoSuggestApplicationDirectory ( ) : System.Threading.Tasks.Task
InstallApplicationAsync ( string id ) : Task
LoadAsync ( ) : System.Threading.Tasks.Task

永続化されているアプリケーション構成情報を非同期で読み込みます。

RegisterInstalledApplication ( string applicationPath ) : System.Threading.Tasks.Task

RemoveApplicationAsync ( Candy.Client.Models.InstalledApplication app ) : System.Threading.Tasks.Task

SaveAsync ( ) : System.Threading.Tasks.Task

このアプリケーション構成情報を非同期で永続化します。

SuggestApplicationDirectory ( IReadOnlyList apps ) : string

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void
OnError ( ErrorEventArgs e ) : void

비공개 메소드들

메소드 설명
EnumerateParents ( DirectoryInfo dir ) : IEnumerable
RaiseError ( string message ) : void
RegisterMeIfNotRegistered ( ) : void
ScanCommonPrefix ( IEnumerable args ) : string

메소드 상세

ApplicationManager() 공개 메소드

使用する IStateRepository を指定して、ApplicationManager クラスの新しいインスタンスを初期化します。
public ApplicationManager ( IStateRepository repository ) : System
repository IStateRepository 使用する
리턴 System

AutoSuggestApplicationDirectory() 공개 메소드

public AutoSuggestApplicationDirectory ( ) : System.Threading.Tasks.Task
리턴 System.Threading.Tasks.Task

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

InstallApplicationAsync() 공개 메소드

public InstallApplicationAsync ( string id ) : Task
id string
리턴 Task

LoadAsync() 공개 메소드

永続化されているアプリケーション構成情報を非同期で読み込みます。
public LoadAsync ( ) : System.Threading.Tasks.Task
리턴 System.Threading.Tasks.Task

OnError() 보호된 메소드

protected OnError ( ErrorEventArgs e ) : void
e ErrorEventArgs
리턴 void

RegisterInstalledApplication() 공개 메소드

public RegisterInstalledApplication ( string applicationPath ) : System.Threading.Tasks.Task
applicationPath string
리턴 System.Threading.Tasks.Task

RemoveApplicationAsync() 공개 메소드

public RemoveApplicationAsync ( Candy.Client.Models.InstalledApplication app ) : System.Threading.Tasks.Task
app Candy.Client.Models.InstalledApplication
리턴 System.Threading.Tasks.Task

SaveAsync() 공개 메소드

このアプリケーション構成情報を非同期で永続化します。
public SaveAsync ( ) : System.Threading.Tasks.Task
리턴 System.Threading.Tasks.Task

SuggestApplicationDirectory() 공개 정적인 메소드

public static SuggestApplicationDirectory ( IReadOnlyList apps ) : string
apps IReadOnlyList
리턴 string