BadScript 2
Loading...
Searching...
No Matches
BadAConsoleSystem.cs
Go to the documentation of this file.
1
4
6
10public abstract class BadAConsoleSystem
11{
15 protected readonly BadRuntime Runtime;
16
21 protected BadAConsoleSystem(BadRuntime runtime)
22 {
23 Runtime = runtime;
24 }
25
29 public abstract string Name { get; }
30
36 public abstract Task<int> Run(object? settings);
37
43 public abstract object? Parse(string[] args);
44}
Exposes the BadScript Runtime Functionality to Consumers.
Definition BadRuntime.cs:28
Implements a the base features of a Console System.
readonly BadRuntime Runtime
The Runtime to use.
Task< int > Run(object? settings)
Runs the Console System with the given settings.
BadAConsoleSystem(BadRuntime runtime)
Creates a new BadAConsoleSystem instance.
string Name
The Name of the Console System.
object? Parse(string[] args)
Parses the given arguments into a settings object.
Contains the Console Subsystems of the Console Application.