public TagEngine(IHarborClient harbor, ApplicationSettings settings, Serilog.ILogger log, IRuleProvider rules, IResultNotifier notifications) { _harbor = harbor ?? throw new ArgumentNullException(nameof(harbor)); _settings = settings ?? throw new ArgumentNullException(nameof(settings)); Log = log ?? throw new ArgumentNullException(nameof(log)); _ruleProvider = rules ?? throw new ArgumentNullException(nameof(rules)); _notification = notifications; _destructive = !_settings.Nondestructive; }
public RoverController(IRover[] rovers, string[] moves, IResultNotifier notifier) { this.rovers = rovers; this.moves = moves; this.notifier = notifier; }