예제 #1
0
		public Supervisor(ILogger logger,IList<IPlugin> plugins, int cycleTime, IRaceController raceController)
        {
            _raceController = raceController;
            _cycleTime = cycleTime;
            _logger = logger;
            _allPlugins = plugins;

            AppDomain.CurrentDomain.UnhandledException += CurrentDomain_UnhandledException;
        }
예제 #2
0
        public Supervisor(ILogger logger, IList <IPlugin> plugins, int cycleTime, IRaceController raceController)
        {
            _raceController = raceController;
            _cycleTime      = cycleTime;
            _logger         = logger;
            _allPlugins     = plugins;

            AppDomain.CurrentDomain.UnhandledException += CurrentDomain_UnhandledException;
        }