Class AbpIoSourceCodeStore
Inheritance
object
AbpIoSourceCodeStore
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 AbpIoSourceCodeStore : ISourceCodeStore, ITransientDependency
Constructors
AbpIoSourceCodeStore(IOptions<AbpCliOptions>, IJsonSerializer, IRemoteServiceExceptionHandler, ICancellationTokenProvider, CliHttpClientFactory)
Declaration
public AbpIoSourceCodeStore(IOptions<AbpCliOptions> options, IJsonSerializer jsonSerializer, IRemoteServiceExceptionHandler remoteServiceExceptionHandler, ICancellationTokenProvider cancellationTokenProvider, CliHttpClientFactory cliHttpClientFactory)
Parameters
| Type | Name | Description |
|---|---|---|
| Microsoft.Extensions.Options.IOptions<TOptions><AbpCliOptions> | options | |
| IJsonSerializer | jsonSerializer | |
| IRemoteServiceExceptionHandler | remoteServiceExceptionHandler | |
| ICancellationTokenProvider | cancellationTokenProvider | |
| 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<AbpIoSourceCodeStore> Logger { get; set; }
Property Value
| Type | Description |
|---|---|
| Microsoft.Extensions.Logging.ILogger<TCategoryName><AbpIoSourceCodeStore> |
Options
Declaration
protected AbpCliOptions Options { get; }
Property Value
| Type | Description |
|---|---|
| AbpCliOptions |
RemoteServiceExceptionHandler
Declaration
protected IRemoteServiceExceptionHandler RemoteServiceExceptionHandler { get; }
Property Value
| Type | Description |
|---|---|
| IRemoteServiceExceptionHandler |
Methods
GetAsync(string, string, string, string, bool)
Declaration
public Task<TemplateFile> GetAsync(string name, string type, string version = null, string templateSource = null, bool includePreReleases = false)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | |
| string | type | |
| string | version | |
| string | templateSource | |
| bool | includePreReleases |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<TResult><TemplateFile> |