static void Main(string[] args) { Console.WriteLine(Resource.Apptitle); container = WindsorCastleContainer.Instance; ConfigureIoC.Configure(container); libraryService = container.Resolve <IBooksService>(); while (true) { AskForValue(Resource.SelectOperation); OperationDispatcher(inputValue); AskToContinue(); } }
private static void InitIoC() { container = new WindsorContainer(); ConfigureIoC.Configure(container); }