mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-20 04:48:53 +00:00
31 lines
563 B
C#
31 lines
563 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using Cosmos.Kernel.Staging;
|
|
|
|
namespace Cosmos.Shell.Console {
|
|
/// <summary>
|
|
/// The demonstration prompter.
|
|
/// </summary>
|
|
public class Prompter : IStage {
|
|
public override string Name {
|
|
get {
|
|
return "Console";
|
|
}
|
|
}
|
|
|
|
private List<Commands.ICommand> _commands;
|
|
|
|
public override void Initialize() {
|
|
|
|
|
|
string a = "Hi";
|
|
a = System.Console.ReadLine ();
|
|
System.Console.WriteLine (a);
|
|
}
|
|
|
|
public override void Teardown() {
|
|
|
|
}
|
|
}
|
|
}
|