コード例 #1
0
        private static async Task RunAppAsync()
        {
            try
            {
                var getChangeService = UnityConfigurationBase.Container.Resolve <IGetChangeService>();
                var coinBoxService   = UnityConfigurationBase.Container.Resolve <ICoinBoxService>();
                var commandReader    = new CommandReader(getChangeService, coinBoxService);

                await commandReader.ReadCommands();
            }
            catch (Exception e)
            {
                Console.WriteLine(e);
            }
        }