Show / Hide Table of Contents

Class AbpIoSourceCodeStore

Inheritance
object
AbpIoSourceCodeStore
Implements
ISourceCodeStore
ITransientDependency
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, CliVersionService)

Declaration
public AbpIoSourceCodeStore(IOptions<AbpCliOptions> options, IJsonSerializer jsonSerializer, IRemoteServiceExceptionHandler remoteServiceExceptionHandler, ICancellationTokenProvider cancellationTokenProvider, CliHttpClientFactory cliHttpClientFactory, CliVersionService cliVersionService)
Parameters
Type Name Description
IOptions<AbpCliOptions> options
IJsonSerializer jsonSerializer
IRemoteServiceExceptionHandler remoteServiceExceptionHandler
ICancellationTokenProvider cancellationTokenProvider
CliHttpClientFactory cliHttpClientFactory
CliVersionService cliVersionService

Properties

CancellationTokenProvider

Declaration
protected ICancellationTokenProvider CancellationTokenProvider { get; }
Property Value
Type Description
ICancellationTokenProvider

CliVersionService

Declaration
protected CliVersionService CliVersionService { get; }
Property Value
Type Description
CliVersionService

JsonSerializer

Declaration
protected IJsonSerializer JsonSerializer { get; }
Property Value
Type Description
IJsonSerializer

Logger

Declaration
public ILogger<AbpIoSourceCodeStore> Logger { get; set; }
Property Value
Type Description
ILogger<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, bool, bool)

Declaration
public Task<TemplateFile> GetAsync(string name, string type, string version = null, string templateSource = null, bool includePreReleases = false, bool skipCache = false, bool trustUserVersion = false)
Parameters
Type Name Description
string name
string type
string version
string templateSource
bool includePreReleases
bool skipCache
bool trustUserVersion
Returns
Type Description
Task<TemplateFile>

Implements

ISourceCodeStore
ITransientDependency

Extension Methods

AbpObjectExtensions.As<T>(object)
AbpObjectExtensions.To<T>(object)
LockExtensions.Locking(object, Action)
LockExtensions.Locking<TResult>(object, Func<TResult>)
AbpObjectExtensions.If<T>(T, bool, Action<T>)
AbpObjectExtensions.If<T>(T, bool, Func<T, T>)
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.IsIn<T>(T, params T[])
AbpQueryableExtensions.OrderByIf<T, TQueryable>(TQueryable, bool, string)
AbpQueryableExtensions.PageBy<T, TQueryable>(TQueryable, int, int)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, bool>>)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, int, bool>>)
AbpOpenIddictQueryableExtensions.SkipIf<T, TQueryable>(TQueryable, bool, int?)
AbpOpenIddictQueryableExtensions.TakeIf<T, TQueryable>(TQueryable, bool, int?)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In this article
Back to top Powered by ABP.IO Platform