Class NuGetService
Inheritance
System.Object
NuGetService
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
Properties
CancellationTokenProvider
Declaration
protected ICancellationTokenProvider CancellationTokenProvider { get; }
Property Value
Type |
Description |
ICancellationTokenProvider |
|
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
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