static void Main(string[] args) { Injector.Add <IOutputWriter, ConsoleOutput>(); var messageImpl = Allocator.New <ITerminalMessage>(); Console.WriteLine(messageImpl.Message); Console.ReadLine(); }
public ConsoleCommandProcessor(Assembly assembly) : base(new List <Assembly> { assembly, typeof(GetPeersCommand).Assembly }) { Injector.Add(this); }