Show / Hide Table of Contents

Interface ICommand

Namespace: PayrollEngine.Client.Command
Assembly: PayrollEngine.Client.Core.dll
Syntax
public interface ICommand

Properties

BackendCommand

Declaration
bool BackendCommand { get; }
Property Value
Type Description
bool

Name

Declaration
string Name { get; }
Property Value
Type Description
string

Methods

ExecuteAsync(CommandContext, ICommandParameters)

Declaration
Task<int> ExecuteAsync(CommandContext context, ICommandParameters parameters)
Parameters
Type Name Description
CommandContext context
ICommandParameters parameters
Returns
Type Description
Task<int>

GetParameters(CommandLineParser)

Declaration
ICommandParameters GetParameters(CommandLineParser parser)
Parameters
Type Name Description
CommandLineParser parser
Returns
Type Description
ICommandParameters

ShowHelp(ICommandConsole)

Declaration
void ShowHelp(ICommandConsole console)
Parameters
Type Name Description
ICommandConsole console

Extension Methods

ConsoleExtensions.WriteProperties(object, bool)
ValueTypeExtensions.GetValueType(object)
ObjectInfo.GetPropertyValue(object, string)
ObjectInfo.GetPropertyValue<T>(object, string, T)
ObjectInfo.ResolvePropertyValue(object, string)
ObjectInfo.SetPropertyValue(object, string, object)
☀
☾
Back to top Generated by DocFX