IProductService

StockSharp.Web.Api.Interfaces

Implementa: IBaseEntityService<Product>

Métodos

GetPublishJobsAsync
public Task<PublishJobInfo[]> GetPublishJobsAsync(TimeSpan timeout, CancellationToken cancellationToken)
result = iProductService.GetPublishJobsAsync(timeout, cancellationToken)

Publishes waiting, running and lately finished, as the publisher has them.

RefreshNugetInfoAsync
public Task<int> RefreshNugetInfoAsync(long? productId, CancellationToken cancellationToken)
result = iProductService.RefreshNugetInfoAsync(productId, cancellationToken)

Re-reads a product's published package -- what it runs on, its latest version, its downloads -- and writes that onto the product. Named product, or the whole catalogue when none is named. Answers with how many products changed.