public StockfishEngine(IEngineProcess engineProcess) { if (!RuntimeInformation.IsOSPlatform(OSPlatform.Linux) && !RuntimeInformation.IsOSPlatform(OSPlatform.Windows)) throw new NotImplementedException("Stockfish not supported."); this.engineProcess = engineProcess; EngineId = EngineEnum.Stockfish12; }
public void AddTask(IEngineProcess process) { Processes.Add(process); }
public FluentCqrsEngineBuilder AddTask(IEngineProcess process) { _builder.AddTask(process); return this; }