Class PackageVersionCheckerService
Inheritance
PackageVersionCheckerService
Assembly: Volo.Abp.Cli.Core.dll
Syntax
public class PackageVersionCheckerService : ITransientDependency
Constructors
PackageVersionCheckerService(IJsonSerializer, IRemoteServiceExceptionHandler, ICancellationTokenProvider, IApiKeyService, CliHttpClientFactory)
Declaration
public PackageVersionCheckerService(IJsonSerializer jsonSerializer, IRemoteServiceExceptionHandler remoteServiceExceptionHandler, ICancellationTokenProvider cancellationTokenProvider, IApiKeyService apiKeyService, CliHttpClientFactory cliHttpClientFactory)
Parameters
Properties
CancellationTokenProvider
Declaration
protected ICancellationTokenProvider CancellationTokenProvider { get; }
Property Value
JsonSerializer
Declaration
protected IJsonSerializer JsonSerializer { get; }
Property Value
Logger
Declaration
public ILogger<VoloNugetPackagesVersionUpdater> Logger { get; set; }
Property Value
RemoteServiceExceptionHandler
Declaration
protected IRemoteServiceExceptionHandler RemoteServiceExceptionHandler { get; }
Property Value
Methods
GetLatestStableVersionFromGithubAsync()
Declaration
public Task<LatestVersionInfo> GetLatestStableVersionFromGithubAsync()
Returns
GetLatestStableVersionsAsync()
Declaration
public Task<List<PackageVersionCheckerService.LatestStableVersionResult>> GetLatestStableVersionsAsync()
Returns
GetLatestVersionOrNullAsync(string, bool, bool)
Declaration
public Task<LatestVersionInfo> GetLatestVersionOrNullAsync(string packageId, bool includeNightly = false, bool includeReleaseCandidates = false)
Parameters
Type |
Name |
Description |
string |
packageId |
|
bool |
includeNightly |
|
bool |
includeReleaseCandidates |
|
Returns
GetPackageVersionListAsync(string, bool)
Declaration
public Task<List<string>> GetPackageVersionListAsync(string packageId, bool includeNightly = false)
Parameters
Type |
Name |
Description |
string |
packageId |
|
bool |
includeNightly |
|
Returns
PackageExistAsync(string, string)
Declaration
public Task<bool> PackageExistAsync(string packageId, string version = null)
Parameters
Returns
Implements
Extension Methods