Esempio n. 1
0
        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();
            }
        }
Esempio n. 2
0
 private static void InitIoC()
 {
     container = new WindsorContainer();
     ConfigureIoC.Configure(container);
 }