C# Class Vtex.Apps.Client.WorkspaceAppsClient

Inheritance: IWorkspaceAppsClient
Afficher le fichier Open project: vtex/apps-client-net

Méthodes publiques

Méthode Description
CallbackOnSetupAsync ( string account, string workspace, OnSetupCallback payload, CancellationToken cancellationToken ) : Task
FromRequest ( HttpRequestMessage requestMessage, AppsEndpoint endpoint, ProductInfoHeaderValue userAgent ) : WorkspaceAppsClient
GetAppAsync ( string account, string workspace, AppIdentifier app, IEnumerable context, CancellationToken cancellationToken ) : Task
GetFileAsync ( string account, string workspace, AppIdentifier app, IEnumerable context, string service, string path, CancellationToken cancellationToken ) : Task
ListAppDependenciesAsync ( string account, string workspace, AppIdentifier app, IEnumerable context, string service, PagingOptions paging, bool recursive, CancellationToken cancellationToken ) : Task>
ListDependenciesAsync ( string account, string workspace, string service, PagingOptions paging, bool recursive, CancellationToken cancellationToken ) : Task>
ListFilesAsync ( string account, string workspace, AppIdentifier app, IEnumerable context, string service, AppFileListingOptions options, CancellationToken cancellationToken ) : Task>
ListRootFoldersAsync ( string account, string workspace, AppIdentifier app, IEnumerable context, CancellationToken cancellationToken ) : Task>
WorkspaceAppsClient ( AppsEndpoint endpoint, VtexCredentials credentials, ProductInfoHeaderValue userAgent, bool acceptSnapshot = true ) : System
WorkspaceAppsClient ( HttpCachedGalleryConnector connector, bool acceptSnapshot = true ) : System
WorkspaceAppsClient ( VtexCredentials credentials, ProductInfoHeaderValue userAgent, bool acceptSnapshot = true ) : System

Private Methods

Méthode Description
WorkspaceAppsClient ( IGalleryConnector connector, bool acceptSnapshot = true ) : System

Method Details

CallbackOnSetupAsync() public méthode

public CallbackOnSetupAsync ( string account, string workspace, OnSetupCallback payload, CancellationToken cancellationToken ) : Task
account string
workspace string
payload Vtex.Apps.Client.Models.Request.OnSetupCallback
cancellationToken System.Threading.CancellationToken
Résultat Task

FromRequest() public static méthode

public static FromRequest ( HttpRequestMessage requestMessage, AppsEndpoint endpoint, ProductInfoHeaderValue userAgent ) : WorkspaceAppsClient
requestMessage System.Net.Http.HttpRequestMessage
endpoint AppsEndpoint
userAgent System.Net.Http.Headers.ProductInfoHeaderValue
Résultat WorkspaceAppsClient

GetAppAsync() public méthode

public GetAppAsync ( string account, string workspace, AppIdentifier app, IEnumerable context, CancellationToken cancellationToken ) : Task
account string
workspace string
app AppIdentifier
context IEnumerable
cancellationToken System.Threading.CancellationToken
Résultat Task

GetFileAsync() public méthode

public GetFileAsync ( string account, string workspace, AppIdentifier app, IEnumerable context, string service, string path, CancellationToken cancellationToken ) : Task
account string
workspace string
app AppIdentifier
context IEnumerable
service string
path string
cancellationToken System.Threading.CancellationToken
Résultat Task

ListAppDependenciesAsync() public méthode

public ListAppDependenciesAsync ( string account, string workspace, AppIdentifier app, IEnumerable context, string service, PagingOptions paging, bool recursive, CancellationToken cancellationToken ) : Task>
account string
workspace string
app AppIdentifier
context IEnumerable
service string
paging Vtex.Gallery.Core.Models.Request.PagingOptions
recursive bool
cancellationToken System.Threading.CancellationToken
Résultat Task>

ListDependenciesAsync() public méthode

public ListDependenciesAsync ( string account, string workspace, string service, PagingOptions paging, bool recursive, CancellationToken cancellationToken ) : Task>
account string
workspace string
service string
paging Vtex.Gallery.Core.Models.Request.PagingOptions
recursive bool
cancellationToken System.Threading.CancellationToken
Résultat Task>

ListFilesAsync() public méthode

public ListFilesAsync ( string account, string workspace, AppIdentifier app, IEnumerable context, string service, AppFileListingOptions options, CancellationToken cancellationToken ) : Task>
account string
workspace string
app AppIdentifier
context IEnumerable
service string
options Vtex.Apps.Client.Models.Request.AppFileListingOptions
cancellationToken System.Threading.CancellationToken
Résultat Task>

ListRootFoldersAsync() public méthode

public ListRootFoldersAsync ( string account, string workspace, AppIdentifier app, IEnumerable context, CancellationToken cancellationToken ) : Task>
account string
workspace string
app AppIdentifier
context IEnumerable
cancellationToken System.Threading.CancellationToken
Résultat Task>

WorkspaceAppsClient() public méthode

public WorkspaceAppsClient ( AppsEndpoint endpoint, VtexCredentials credentials, ProductInfoHeaderValue userAgent, bool acceptSnapshot = true ) : System
endpoint AppsEndpoint
credentials Vtex.Gallery.Core.VtexCredentials
userAgent System.Net.Http.Headers.ProductInfoHeaderValue
acceptSnapshot bool
Résultat System

WorkspaceAppsClient() public méthode

public WorkspaceAppsClient ( HttpCachedGalleryConnector connector, bool acceptSnapshot = true ) : System
connector HttpCachedGalleryConnector
acceptSnapshot bool
Résultat System

WorkspaceAppsClient() public méthode

public WorkspaceAppsClient ( VtexCredentials credentials, ProductInfoHeaderValue userAgent, bool acceptSnapshot = true ) : System
credentials Vtex.Gallery.Core.VtexCredentials
userAgent System.Net.Http.Headers.ProductInfoHeaderValue
acceptSnapshot bool
Résultat System