Class CliService
Inheritance
System.Object
CliService
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
Properties
CommandLineArgumentParser
Declaration
protected ICommandLineArgumentParser CommandLineArgumentParser { get; }
Property Value
CommandSelector
Declaration
protected ICommandSelector CommandSelector { get; }
Property Value
Logger
Declaration
public ILogger<CliService> Logger { get; set; }
Property Value
NuGetService
Declaration
protected NuGetService NuGetService { get; }
Property Value
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
Extension Methods