Show / Hide Table of Contents

Class CommandContext

Inheritance
object
CommandContext
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: PayrollEngine.Client.Command
Assembly: PayrollEngine.Client.Core.dll
Syntax
public class CommandContext

Constructors

CommandContext(CommandManager, ICommandConsole, ILogger, PayrollHttpClient, DisplayLevel)

Declaration
public CommandContext(CommandManager commandManager, ICommandConsole console, ILogger logger = null, PayrollHttpClient httpClient = null, DisplayLevel displayLevel = DisplayLevel.Full)
Parameters
Type Name Description
CommandManager commandManager
ICommandConsole console
ILogger logger
PayrollHttpClient httpClient
DisplayLevel displayLevel

Properties

CommandManager

Declaration
public CommandManager CommandManager { get; }
Property Value
Type Description
CommandManager

Console

Declaration
public ICommandConsole Console { get; }
Property Value
Type Description
ICommandConsole

DisplayLevel

Declaration
public DisplayLevel DisplayLevel { get; }
Property Value
Type Description
DisplayLevel

HttpClient

Declaration
public PayrollHttpClient HttpClient { get; }
Property Value
Type Description
PayrollHttpClient

Logger

Declaration
public ILogger Logger { get; }
Property Value
Type Description
ILogger

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