Esempio n. 1
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="excelExportService">Excel export service</param>
 /// <param name="actionTimer">Action timer</param>
 /// <param name="graphBuilder">Graph builder</param>
 /// <param name="logger">The logger</param>
 public HarmonySearchTester(IExcelExportService excelExportService, IActionTimer actionTimer, IGraphBuilder graphBuilder, ILogger <HarmonySearchTester> logger)
 {
     _excelExportService = excelExportService ?? throw new ArgumentNullException(nameof(excelExportService));
     _actionTimer        = actionTimer ?? throw new ArgumentNullException(nameof(actionTimer));
     _graphBuilder       = graphBuilder ?? throw new ArgumentNullException(nameof(graphBuilder));
     _logger             = logger ?? throw new ArgumentNullException(nameof(logger));
 }
Esempio n. 2
0
 public ActionScheduler(IUtcClock clock, IActionTimer timer)
 {
     Clock  = clock;
     _timer = timer;
 }
 public NodeActionScheduler(IUtcClock clock, IActionTimer timer, INodeMarshaller marshaller, IOutgoingSocket actorSocket)
     : base(clock, timer)
 {
     _marshaller  = marshaller;
     _actorSocket = actorSocket;
 }