Class CliService
Inheritance
object
CliService
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
Assembly: Volo.Abp.Cli.Core.dll
Syntax
public class CliService : ITransientDependency
Constructors
CliService(ICommandLineArgumentParser, ICommandSelector, IServiceScopeFactory, NuGetService, ICmdHelper, MemoryService)
Declaration
public CliService(ICommandLineArgumentParser commandLineArgumentParser, ICommandSelector commandSelector, IServiceScopeFactory serviceScopeFactory, NuGetService nugetService, ICmdHelper cmdHelper, MemoryService memoryService)
Parameters
Properties
CmdHelper
Declaration
public ICmdHelper CmdHelper { get; }
Property Value
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
| Type |
Description |
| Microsoft.Extensions.Logging.ILogger<TCategoryName><CliService> |
|
NuGetService
Declaration
protected NuGetService NuGetService { get; }
Property Value
ServiceScopeFactory
Declaration
protected IServiceScopeFactory ServiceScopeFactory { get; }
Property Value
| Type |
Description |
| Microsoft.Extensions.DependencyInjection.IServiceScopeFactory |
|
Methods
GetCurrentCliVersionAsync(Assembly)
Declaration
public Task<SemanticVersion> GetCurrentCliVersionAsync(Assembly assembly)
Parameters
| Type |
Name |
Description |
| System.Reflection.Assembly |
assembly |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<TResult><NuGet.Versioning.SemanticVersion> |
|
RunAsync(string[])
Declaration
public Task RunAsync(string[] args)
Parameters
| Type |
Name |
Description |
| string[] |
args |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
Implements
Extension Methods