mirror of
https://github.com/BeyondDimension/SteamTools.git
synced 2026-10-22 01:16:17 +08:00
22 lines
786 B
C#
22 lines
786 B
C#
using System.Application.Models;
|
|
using System.Application.Services.CloudService;
|
|
using System.Application.Services.CloudService.Clients.Abstractions;
|
|
using System.Threading;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace System.Application.Services
|
|
{
|
|
public interface ICloudServiceClient
|
|
{
|
|
IAccountClient Account { get; }
|
|
|
|
IAuthMessageClient AuthMessage { get; }
|
|
|
|
IVersionClient Version { get; }
|
|
|
|
/// <inheritdoc cref="IApiConnection.DownloadAsync(CancellationToken, string, string, IProgress{float})"/>
|
|
Task<IApiResponse> Download(string requestUri, string cacheFilePath, IProgress<float> progress, CancellationToken cancellationToken = default);
|
|
|
|
public static ICloudServiceClient Instance => DI.Get<ICloudServiceClient>();
|
|
}
|
|
} |