Show / Hide Table of Contents

Class CliService

Inheritance
System.Object
CliService
Namespace: Volo.Abp.Cli
Assembly: Volo.Abp.Cli.Core.dll
Syntax
public class CliService : ITransientDependency

Constructors

CliService(ICommandLineArgumentParser, ICommandSelector, IHybridServiceScopeFactory, NuGetService)

Declaration
public CliService(ICommandLineArgumentParser commandLineArgumentParser, ICommandSelector commandSelector, IHybridServiceScopeFactory serviceScopeFactory, NuGetService nugetService)
Parameters
Type Name Description
ICommandLineArgumentParser commandLineArgumentParser
ICommandSelector commandSelector
IHybridServiceScopeFactory serviceScopeFactory
NuGetService nugetService

Properties

CommandLineArgumentParser

Declaration
protected ICommandLineArgumentParser CommandLineArgumentParser { get; }
Property Value
Type Description
ICommandLineArgumentParser

CommandSelector

Declaration
protected ICommandSelector CommandSelector { get; }
Property Value
Type Description
ICommandSelector

Logger

Declaration
public ILogger<CliService> Logger { get; set; }
Property Value
Type Description
ILogger<CliService>

NuGetService

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

ServiceScopeFactory

Declaration
protected IHybridServiceScopeFactory ServiceScopeFactory { get; }
Property Value
Type Description
IHybridServiceScopeFactory

Methods

GetCurrentCliVersionAsync(Assembly)

Declaration
public Task<SemanticVersion> GetCurrentCliVersionAsync(Assembly assembly)
Parameters
Type Name Description
Assembly assembly
Returns
Type Description
Task<SemanticVersion>

RunAsync(String[])

Declaration
public Task RunAsync(string[] args)
Parameters
Type Name Description
System.String[] args
Returns
Type Description
Task

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