Show / Hide Table of Contents

Class TestCommandBase<TArgs>

Test command base

Inheritance
object
CommandBase
TestCommandBase
TestCommandBase<TArgs>
Implements
ICommand
Inherited Members
TestCommandBase.GetTestFileNames(string)
TestCommandBase.DisplayTestResults<TResult>(ILogger, ICommandConsole, TestDisplayMode, ICollection<TResult>)
CommandBase.GetParameters(CommandLineParser)
CommandBase.ExecuteAsync(CommandContext, ICommandParameters)
CommandBase.ShowHelp(ICommandConsole)
CommandBase.DisplayTitle(ICommandConsole, string)
CommandBase.ProcessError(ICommandConsole, Exception)
CommandBase.DisplayResponseContent(ICommandConsole, HttpResponseMessage)
CommandBase.ToString()
CommandBase.Name
CommandBase.BackendCommand
object.GetType()
object.MemberwiseClone()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: PayrollEngine.Client.Test
Assembly: PayrollEngine.Client.Test.dll
Syntax
public abstract class TestCommandBase<TArgs> : TestCommandBase, ICommand where TArgs : ICommandParameters
Type Parameters
Name Description
TArgs

Command parameter type

Constructors

TestCommandBase()

Declaration
protected TestCommandBase()

Methods

Execute(CommandContext, TArgs)

Execute the command with typed parameters

Declaration
protected abstract Task<int> Execute(CommandContext context, TArgs parameters)
Parameters
Type Name Description
CommandContext context
TArgs parameters
Returns
Type Description
Task<int>

OnExecute(CommandContext, ICommandParameters)

Declaration
protected override Task<int> OnExecute(CommandContext context, ICommandParameters parameters)
Parameters
Type Name Description
CommandContext context
ICommandParameters parameters
Returns
Type Description
Task<int>
Overrides
CommandBase.OnExecute(CommandContext, ICommandParameters)

Implements

ICommand

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