/// <nodoc /> public MachineList(MachineIdSet locations, Func <MachineId, MachineLocation> resolvePath, MachineReputationTracker reputationTracker, bool randomize) { _locations = locations; _resolvePath = resolvePath; _reputationTracker = reputationTracker; _randomize = randomize; // Capture the count rather than recomputing every time Count = locations.Count; }
/// <inheritdoc /> public void ReportReputation(MachineLocation location, MachineReputation reputation) => MachineReputationTracker.ReportReputation(location, reputation);