Class ProxyCommandBase<T>
Inheritance
ProxyCommandBase<T>
Assembly: Volo.Abp.Cli.Core.dll
Syntax
public abstract class ProxyCommandBase<T> : IConsoleCommand, ITransientDependency where T : IConsoleCommand
Type Parameters
Constructors
ProxyCommandBase(IOptions<AbpCliServiceProxyOptions>, IServiceScopeFactory)
Declaration
public ProxyCommandBase(IOptions<AbpCliServiceProxyOptions> serviceProxyOptions, IServiceScopeFactory serviceScopeFactory)
Parameters
Properties
CommandName
Declaration
protected abstract string CommandName { get; }
Property Value
Logger
Declaration
public ILogger<T> Logger { get; set; }
Property Value
ServiceProxyOptions
Declaration
protected AbpCliServiceProxyOptions ServiceProxyOptions { get; }
Property Value
ServiceScopeFactory
Declaration
protected IServiceScopeFactory ServiceScopeFactory { get; }
Property Value
Methods
ExecuteAsync(CommandLineArgs)
Declaration
public Task ExecuteAsync(CommandLineArgs commandLineArgs)
Parameters
Returns
GetUsageInfo()
Declaration
public virtual string GetUsageInfo()
Returns
Implements
Extension Methods