static void Main() { // Writes out the stack trace from a decorated command: Decorate.Get(new EmitMessage(Console.WriteLine)) .Execute(null); BenchmarkRunner.Run <Program>(); Console.ReadKey(); }
public Program(ICommand direct) : this(direct, Decorate.Get(direct), "Hello World!") { }