20 public override Task<int>
Run(
object? settings)
29 return Task.FromResult(-1);
33 public override object?
Parse(
string[] args)
35 CommandLine.Parser parser =
new CommandLine.Parser(() => ParserSettings.CreateDefault(ParserSettings.DefaultMaximumLength));
36 T t = parser.ParseArguments<T>(args).Value;
51 protected abstract Task<int>
Run(T settings);
Exposes the BadScript Runtime Functionality to Consumers.
Wrapper class for the console abstraction.
static void WriteLine(string str)
Writes a string to the console and appends a newline.
Implements a the base features of a Console System.
Implements a Console System that uses a settings object of Type T.
override Task< int > Run(object? settings)
Task< int > Run(T settings)
Runs the Console System with the given settings.
BadConsoleSystem(BadRuntime runtime)
Creates a new BadConsoleSystem instance.
override? object Parse(string[] args)
Contains a Console Abstraction Layer to be able to Simulate Console Input/Output over the Network.
Contains the Console Subsystems of the Console Application.