C# Class Vtex.Gallery.Context.Connectors.AppsContextConnector

Inheritance: ContextConnector
Afficher le fichier Open project: vtex/gallery-context-net Class Usage Examples

Protected Properties

Свойство Type Description
CachedArchives FileList>.Dictionary
CachedFileLists IReadOnlyList>.Dictionary
CachedFiles AppFile>.Dictionary

Méthodes publiques

Méthode Description
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>

Méthodes protégées

Méthode Description
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>

Private Methods

Méthode Description
GetFileFromArchiveAsync ( App app, string path, CancellationToken cancellationToken ) : Task
SandboxFor ( AppIdentifier id ) : string

Method Details

AppsContextConnector() public méthode

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
Résultat System.Collections.Generic

GetApp() protected méthode

protected GetApp ( AppIdentifier id ) : App
id AppIdentifier
Résultat Vtex.Apps.Client.Models.Response.App

GetAppsAsync() public méthode

public GetAppsAsync ( CancellationToken cancellationToken ) : App>>.Task
cancellationToken System.Threading.CancellationToken
Résultat App>>.Task

GetArchiveAsync() protected méthode

protected GetArchiveAsync ( AppIdentifier id, string appVersion, CancellationToken cancellationToken ) : Task
id AppIdentifier
appVersion string
cancellationToken System.Threading.CancellationToken
Résultat Task

GetFileAsync() public méthode

public GetFileAsync ( AppIdentifier id, string path, CancellationToken cancellationToken ) : Task
id AppIdentifier
path string
cancellationToken System.Threading.CancellationToken
Résultat Task

GetFileFromAppOrSandbox() protected méthode

protected GetFileFromAppOrSandbox ( AppIdentifier id, string appVersion, string path, CancellationToken cancellationToken ) : Task
id AppIdentifier
appVersion string
path string
cancellationToken System.Threading.CancellationToken
Résultat Task

GetMetadataAsync() public méthode

public GetMetadataAsync ( AppIdentifier id ) : Task
id AppIdentifier
Résultat Task

ListFilesAsync() public méthode

public ListFilesAsync ( AppIdentifier id, CancellationToken cancellationToken ) : Task>
id AppIdentifier
cancellationToken System.Threading.CancellationToken
Résultat Task>

ListFilesAsync() protected méthode

protected ListFilesAsync ( AppIdentifier id, string appVersion, CancellationToken cancellationToken ) : Task>
id AppIdentifier
appVersion string
cancellationToken System.Threading.CancellationToken
Résultat Task>

ListFilesAsync() public méthode

public ListFilesAsync ( CancellationToken cancellationToken ) : Task>
cancellationToken System.Threading.CancellationToken
Résultat Task>

Property Details

CachedArchives protected_oe property

protected Dictionary CachedArchives
Résultat FileList>.Dictionary

CachedFileLists protected_oe property

protected Dictionary> CachedFileLists
Résultat IReadOnlyList>.Dictionary

CachedFiles protected_oe property

protected Dictionary CachedFiles
Résultat AppFile>.Dictionary