Class TemplateInfoProvider
Inheritance
object
TemplateInfoProvider
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 TemplateInfoProvider : ITemplateInfoProvider, ITransientDependency
Constructors
TemplateInfoProvider(ICancellationTokenProvider, IRemoteServiceExceptionHandler, AuthService, CliHttpClientFactory)
Declaration
public TemplateInfoProvider(ICancellationTokenProvider cancellationTokenProvider, IRemoteServiceExceptionHandler remoteServiceExceptionHandler, AuthService authService, CliHttpClientFactory cliHttpClientFactory)
Parameters
| Type | Name | Description |
|---|---|---|
| ICancellationTokenProvider | cancellationTokenProvider | |
| IRemoteServiceExceptionHandler | remoteServiceExceptionHandler | |
| AuthService | authService | |
| CliHttpClientFactory | cliHttpClientFactory |
Properties
AuthService
Declaration
public AuthService AuthService { get; }
Property Value
| Type | Description |
|---|---|
| AuthService |
CancellationTokenProvider
Declaration
public ICancellationTokenProvider CancellationTokenProvider { get; }
Property Value
| Type | Description |
|---|---|
| ICancellationTokenProvider |
Logger
Declaration
public ILogger<TemplateInfoProvider> Logger { get; set; }
Property Value
| Type | Description |
|---|---|
| Microsoft.Extensions.Logging.ILogger<TCategoryName><TemplateInfoProvider> |
RemoteServiceExceptionHandler
Declaration
public IRemoteServiceExceptionHandler RemoteServiceExceptionHandler { get; }
Property Value
| Type | Description |
|---|---|
| IRemoteServiceExceptionHandler |
Methods
Get(string)
Declaration
public TemplateInfo Get(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name |
Returns
| Type | Description |
|---|---|
| TemplateInfo |
GetDefaultAsync()
Declaration
public Task<TemplateInfo> GetDefaultAsync()
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<TResult><TemplateInfo> |