Table of Contents

Class TTYConsoleEngine

Namespace
CLI.CliniCore.Service
Assembly
CLI.CliniCore.dll
public class TTYConsoleEngine : AbstractConsoleEngine, IConsoleEngine, IDisposable
Inheritance
TTYConsoleEngine
Implements
Inherited Members

Constructors

TTYConsoleEngine(ConsoleMenuBuilder?, CommandInvoker, ConsoleSessionManager, ConsoleCommandParser?)

public TTYConsoleEngine(ConsoleMenuBuilder? menuBuilder, CommandInvoker commandInvoker, ConsoleSessionManager sessionManager, ConsoleCommandParser? commandParser)

Parameters

menuBuilder ConsoleMenuBuilder
commandInvoker CommandInvoker
sessionManager ConsoleSessionManager
commandParser ConsoleCommandParser

Methods

DisplaySeparator()

public override void DisplaySeparator()

GetSecureInput(string)

public override string? GetSecureInput(string prompt)

Parameters

prompt string

Returns

string

GetUserInput(string)

public override string? GetUserInput(string prompt)

Parameters

prompt string

Returns

string

SetCommandParser(ConsoleCommandParser)

public void SetCommandParser(ConsoleCommandParser commandParser)

Parameters

commandParser ConsoleCommandParser