C# 클래스 Vtex.Gallery.Context.Connectors.AppsContextConnector

상속: ContextConnector
파일 보기 프로젝트 열기: vtex/gallery-context-net 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
CachedArchives FileList>.Dictionary
CachedFileLists IReadOnlyList>.Dictionary
CachedFiles AppFile>.Dictionary

공개 메소드들

메소드 설명
AppsContextConnector ( IAppsClient appsClient, ISandboxesClient sandboxesClient, IReadOnlyList apps, SandboxCollection sandboxes, string serviceName, string excludePrefixes ) : System.Collections.Generic
GetAppsAsync ( CancellationToken cancellationToken ) : App>>.Task
GetFileAsync ( AppIdentifier id, string path, CancellationToken cancellationToken ) : Task
GetMetadataAsync ( AppIdentifier id ) : Task
ListFilesAsync ( AppIdentifier id, CancellationToken cancellationToken ) : Task>
ListFilesAsync ( CancellationToken cancellationToken ) : Task>

보호된 메소드들

메소드 설명
GetApp ( AppIdentifier id ) : App
GetArchiveAsync ( AppIdentifier id, string appVersion, CancellationToken cancellationToken ) : Task
GetFileFromAppOrSandbox ( AppIdentifier id, string appVersion, string path, CancellationToken cancellationToken ) : Task
ListFilesAsync ( AppIdentifier id, string appVersion, CancellationToken cancellationToken ) : Task>

비공개 메소드들

메소드 설명
GetFileFromArchiveAsync ( App app, string path, CancellationToken cancellationToken ) : Task
SandboxFor ( AppIdentifier id ) : string

메소드 상세

AppsContextConnector() 공개 메소드

public AppsContextConnector ( IAppsClient appsClient, ISandboxesClient sandboxesClient, IReadOnlyList apps, SandboxCollection sandboxes, string serviceName, string excludePrefixes ) : System.Collections.Generic
appsClient IAppsClient
sandboxesClient ISandboxesClient
apps IReadOnlyList
sandboxes SandboxCollection
serviceName string
excludePrefixes string
리턴 System.Collections.Generic

GetApp() 보호된 메소드

protected GetApp ( AppIdentifier id ) : App
id AppIdentifier
리턴 Vtex.Apps.Client.Models.Response.App

GetAppsAsync() 공개 메소드

public GetAppsAsync ( CancellationToken cancellationToken ) : App>>.Task
cancellationToken System.Threading.CancellationToken
리턴 App>>.Task

GetArchiveAsync() 보호된 메소드

protected GetArchiveAsync ( AppIdentifier id, string appVersion, CancellationToken cancellationToken ) : Task
id AppIdentifier
appVersion string
cancellationToken System.Threading.CancellationToken
리턴 Task

GetFileAsync() 공개 메소드

public GetFileAsync ( AppIdentifier id, string path, CancellationToken cancellationToken ) : Task
id AppIdentifier
path string
cancellationToken System.Threading.CancellationToken
리턴 Task

GetFileFromAppOrSandbox() 보호된 메소드

protected GetFileFromAppOrSandbox ( AppIdentifier id, string appVersion, string path, CancellationToken cancellationToken ) : Task
id AppIdentifier
appVersion string
path string
cancellationToken System.Threading.CancellationToken
리턴 Task

GetMetadataAsync() 공개 메소드

public GetMetadataAsync ( AppIdentifier id ) : Task
id AppIdentifier
리턴 Task

ListFilesAsync() 공개 메소드

public ListFilesAsync ( AppIdentifier id, CancellationToken cancellationToken ) : Task>
id AppIdentifier
cancellationToken System.Threading.CancellationToken
리턴 Task>

ListFilesAsync() 보호된 메소드

protected ListFilesAsync ( AppIdentifier id, string appVersion, CancellationToken cancellationToken ) : Task>
id AppIdentifier
appVersion string
cancellationToken System.Threading.CancellationToken
리턴 Task>

ListFilesAsync() 공개 메소드

public ListFilesAsync ( CancellationToken cancellationToken ) : Task>
cancellationToken System.Threading.CancellationToken
리턴 Task>

프로퍼티 상세

CachedArchives 보호되어 있는 프로퍼티

protected Dictionary CachedArchives
리턴 FileList>.Dictionary

CachedFileLists 보호되어 있는 프로퍼티

protected Dictionary> CachedFileLists
리턴 IReadOnlyList>.Dictionary

CachedFiles 보호되어 있는 프로퍼티

protected Dictionary CachedFiles
리턴 AppFile>.Dictionary