public void RunInHost() { System.Console.SetIn(new StreamReader(System.Console.OpenStandardInput(ConsoleInputBufferSize))); var gopherHost = new GopherHost(System.Console.In, System.Console.Out, gopherRepositoryManager, Container.Resolve<IConfigReader>(), Logger); gopherHost.Run(); }
public void Run(string[] args) { var gopherHost = new GopherHost(System.Console.In, System.Console.Out, gopherRepositoryManager, Container.Resolve<IConfigReader>(), Logger); gopherHost.RunCommand(args); }