public AgentCommunicator(Stream stream, IFormatter formatter, IJobWorker jobWorker, IFileCache fileCache, ILog logger) { logger.Info("AgentCommunicator initializing..."); this.stream = stream; this.formatter = formatter; this.jobWorker = jobWorker; this.fileCache = fileCache; this.logger = logger; logger.Info("AgentCommunicator initialized."); }
public GoToTask(IJobWorker worker, MapSpot mapSpot) : base(worker) { Destination = mapSpot ?? throw new ArgumentNullException(nameof(mapSpot)); }