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

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

Protected Properties

Свойство Type Description
CachedApps IReadOnlyList
CachedArchive FileList
CachedFileList IReadOnlyList
CachedFiles File>.Dictionary
CachedMetadata Metadata
CachedSettings Settings

Méthodes publiques

Méthode Description
GetAppsAsync ( CancellationToken cancellationToken ) : Task>
GetFileAsync ( string path, CancellationToken cancellationToken ) : Task
GetMetadataAsync ( CancellationToken cancellationToken ) : Task
GetSettingsAsync ( CancellationToken cancellationToken ) : Task
ListFilesAsync ( CancellationToken cancellationToken ) : Task>
SaveAsync ( string message, FileChange changes, CancellationToken cancellationToken ) : Task
WorkspacesContextConnector ( IExtendedWorkspacesClient client, string account, string workspace, SandboxCollection sandboxes, string serviceName, string excludePrefixes ) : System.Collections.Generic

Private Methods

Méthode Description
GetArchiveAsync ( CancellationToken cancellationToken ) : Task

Method Details

GetAppsAsync() public méthode

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

GetFileAsync() public méthode

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

GetMetadataAsync() public méthode

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

GetSettingsAsync() public méthode

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

ListFilesAsync() public méthode

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

SaveAsync() public méthode

public SaveAsync ( string message, FileChange changes, CancellationToken cancellationToken ) : Task
message string
changes Vtex.Workspaces.Client.Models.Request.FileChange
cancellationToken System.Threading.CancellationToken
Résultat Task

WorkspacesContextConnector() public méthode

public WorkspacesContextConnector ( IExtendedWorkspacesClient client, string account, string workspace, SandboxCollection sandboxes, string serviceName, string excludePrefixes ) : System.Collections.Generic
client IExtendedWorkspacesClient
account string
workspace string
sandboxes SandboxCollection
serviceName string
excludePrefixes string
Résultat System.Collections.Generic

Property Details

CachedApps protected_oe property

protected IReadOnlyList CachedApps
Résultat IReadOnlyList

CachedArchive protected_oe property

protected FileList CachedArchive
Résultat FileList

CachedFileList protected_oe property

protected IReadOnlyList CachedFileList
Résultat IReadOnlyList

CachedFiles protected_oe property

protected Dictionary CachedFiles
Résultat File>.Dictionary

CachedMetadata protected_oe property

protected Metadata CachedMetadata
Résultat Metadata

CachedSettings protected_oe property

protected Settings CachedSettings
Résultat Settings