Show / Hide Table of Contents

Class NuGetService

Inheritance
System.Object
NuGetService
Namespace: Volo.Abp.Cli.NuGet
Assembly: Volo.Abp.Cli.Core.dll
Syntax
public class NuGetService : ITransientDependency

Constructors

NuGetService(IJsonSerializer, IRemoteServiceExceptionHandler, ICancellationTokenProvider, IApiKeyService)

Declaration
public NuGetService(IJsonSerializer jsonSerializer, IRemoteServiceExceptionHandler remoteServiceExceptionHandler, ICancellationTokenProvider cancellationTokenProvider, IApiKeyService apiKeyService)
Parameters
Type Name Description
IJsonSerializer jsonSerializer
IRemoteServiceExceptionHandler remoteServiceExceptionHandler
ICancellationTokenProvider cancellationTokenProvider
IApiKeyService apiKeyService

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

GetLatestVersionOrNullAsync(String, Boolean, Boolean)

Declaration
public Task<SemanticVersion> GetLatestVersionOrNullAsync(string packageId, bool includeNightly = false, bool includeReleaseCandidates = false)
Parameters
Type Name Description
System.String packageId
System.Boolean includeNightly
System.Boolean includeReleaseCandidates
Returns
Type Description
Task<SemanticVersion>

Extension Methods

AbpObjectExtensions.As<T>(Object)
AbpObjectExtensions.To<T>(Object)
AbpObjectExtensions.IsIn<T>(T, T[])
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.If<T>(T, Boolean, Func<T, T>)
AbpObjectExtensions.If<T>(T, Boolean, Action<T>)
LockExtensions.Locking(Object, Action)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<TResult>(Object, Func<TResult>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
Back to top Powered by Volosoft