Class NugetPackageInfoProvider
Inheritance
object
NugetPackageInfoProvider
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.ProjectBuilding
Assembly: Volo.Abp.Cli.Core.dll
Syntax
public class NugetPackageInfoProvider : INugetPackageInfoProvider, ITransientDependency
Constructors
NugetPackageInfoProvider(IJsonSerializer, ICancellationTokenProvider, IRemoteServiceExceptionHandler, CliHttpClientFactory)
Declaration
public NugetPackageInfoProvider(IJsonSerializer jsonSerializer, ICancellationTokenProvider cancellationTokenProvider, IRemoteServiceExceptionHandler remoteServiceExceptionHandler, CliHttpClientFactory cliHttpClientFactory)
Parameters
| Type | Name | Description |
|---|---|---|
| IJsonSerializer | jsonSerializer | |
| ICancellationTokenProvider | cancellationTokenProvider | |
| IRemoteServiceExceptionHandler | remoteServiceExceptionHandler | |
| CliHttpClientFactory | cliHttpClientFactory |
Properties
CancellationTokenProvider
Declaration
public ICancellationTokenProvider CancellationTokenProvider { get; }
Property Value
| Type | Description |
|---|---|
| ICancellationTokenProvider |
JsonSerializer
Declaration
public IJsonSerializer JsonSerializer { get; }
Property Value
| Type | Description |
|---|---|
| IJsonSerializer |
RemoteServiceExceptionHandler
Declaration
public IRemoteServiceExceptionHandler RemoteServiceExceptionHandler { get; }
Property Value
| Type | Description |
|---|---|
| IRemoteServiceExceptionHandler |
Methods
GetAsync(string)
Declaration
public Task<NugetPackageInfo> GetAsync(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<TResult><NugetPackageInfo> |