Show / Hide Table of Contents

Class PackageVersionCheckerService

Inheritance
object
PackageVersionCheckerService
Implements
ITransientDependency
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.Cli.Version
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
Type Name Description
IJsonSerializer jsonSerializer
IRemoteServiceExceptionHandler remoteServiceExceptionHandler
ICancellationTokenProvider cancellationTokenProvider
IApiKeyService apiKeyService
CliHttpClientFactory cliHttpClientFactory

Properties

CancellationTokenProvider

Declaration
protected ICancellationTokenProvider CancellationTokenProvider { get; }
Property Value
Type Description
ICancellationTokenProvider

JsonSerializer

Declaration
protected IJsonSerializer JsonSerializer { get; }
Property Value
Type Description
IJsonSerializer

Logger

Declaration
public ILogger<VoloNugetPackagesVersionUpdater> Logger { get; set; }
Property Value
Type Description
ILogger<VoloNugetPackagesVersionUpdater>

RemoteServiceExceptionHandler

Declaration
protected IRemoteServiceExceptionHandler RemoteServiceExceptionHandler { get; }
Property Value
Type Description
IRemoteServiceExceptionHandler

Methods

GetLatestStableVersionFromGithubAsync()

Declaration
public Task<LatestVersionInfo> GetLatestStableVersionFromGithubAsync()
Returns
Type Description
Task<LatestVersionInfo>

GetLatestStableVersionsAsync()

Declaration
public Task<List<PackageVersionCheckerService.LatestStableVersionResult>> GetLatestStableVersionsAsync()
Returns
Type Description
Task<List<PackageVersionCheckerService.LatestStableVersionResult>>

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
Type Description
Task<LatestVersionInfo>

GetPackageVersionListAsync(string, bool)

Declaration
public Task<List<string>> GetPackageVersionListAsync(string packageId, bool includeNightly = false)
Parameters
Type Name Description
string packageId
bool includeNightly
Returns
Type Description
Task<List<string>>

PackageExistAsync(string, string)

Declaration
public Task<bool> PackageExistAsync(string packageId, string version = null)
Parameters
Type Name Description
string packageId
string version
Returns
Type Description
Task<bool>

Implements

ITransientDependency

Extension Methods

AbpObjectExtensions.As<T>(object)
AbpObjectExtensions.To<T>(object)
LockExtensions.Locking(object, Action)
LockExtensions.Locking<TResult>(object, Func<TResult>)
AbpObjectExtensions.If<T>(T, bool, Action<T>)
AbpObjectExtensions.If<T>(T, bool, Func<T, T>)
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.IsIn<T>(T, params T[])
AbpQueryableExtensions.OrderByIf<T, TQueryable>(TQueryable, bool, string)
AbpQueryableExtensions.PageBy<T, TQueryable>(TQueryable, int, int)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, bool>>)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, int, bool>>)
AbpOpenIddictQueryableExtensions.SkipIf<T, TQueryable>(TQueryable, bool, int?)
AbpOpenIddictQueryableExtensions.TakeIf<T, TQueryable>(TQueryable, bool, int?)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In this article
Back to top Powered by ABP.IO Platform