Show / Hide Table of Contents

Class AbpIoSourceCodeStore

Inheritance
System.Object
AbpIoSourceCodeStore
Implements
ISourceCodeStore
ITransientDependency
Namespace: Volo.Abp.Cli.ProjectBuilding
Assembly: Volo.Abp.Cli.Core.dll
Syntax
public class AbpIoSourceCodeStore : object, ISourceCodeStore, ITransientDependency

Constructors

AbpIoSourceCodeStore(IOptions<AbpCliOptions>, IJsonSerializer, IRemoteServiceExceptionHandler, ICancellationTokenProvider)

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

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
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, Boolean)

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

Implements

ISourceCodeStore
ITransientDependency

Extension Methods

AbpObjectExtensions.As<T>(Object)
AbpObjectExtensions.To<T>(Object)
AbpObjectExtensions.IsIn<T>(T, T[])
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.If<T>(T, Boolean, Func<T, T>)
AbpObjectExtensions.If<T>(T, Boolean, Action<T>)
LockExtensions.Locking(Object, Action)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<TResult>(Object, Func<TResult>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
Back to top Powered by Volosoft