コード例 #1
0
        private async Task RunRushingService()
        {
            try
            {
                var data = _transformer.ReadAndPreprocess();
                _modelConfigurator.Run(data);
            }
            catch (Exception exception)
            {
                _logger.LogCritical(exception.ToString());
                _cancellationTokenSource.Cancel();

                Environment.ExitCode = 1;
            }

            _cancellationTokenSource.Cancel();
            Environment.ExitCode = 0;
        }
コード例 #2
0
 public void Generate()
 {
     ModelConfigurator.Run();
     ViewModelConfigurator.Run();
     ControllerConfigurator.Run();
 }