C# Class Vtex.Apps.Client.WorkspaceAppsClient

Inheritance: IWorkspaceAppsClient
ファイルを表示 Open project: vtex/apps-client-net

Public Methods

Method 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

Method Description
WorkspaceAppsClient ( IGalleryConnector connector, bool acceptSnapshot = true ) : System

Method Details

CallbackOnSetupAsync() public method

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
return Task

FromRequest() public static method

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

GetAppAsync() public method

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
return Task

GetFileAsync() public method

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
return Task

ListAppDependenciesAsync() public method

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
return Task>

ListDependenciesAsync() public method

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
return Task>

ListFilesAsync() public method

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
return Task>

ListRootFoldersAsync() public method

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
return Task>

WorkspaceAppsClient() public method

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
return System

WorkspaceAppsClient() public method

public WorkspaceAppsClient ( HttpCachedGalleryConnector connector, bool acceptSnapshot = true ) : System
connector HttpCachedGalleryConnector
acceptSnapshot bool
return System

WorkspaceAppsClient() public method

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