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