/// <inheritdoc /> public int CompareTo(WorkerSetupCost other) { var result = SetupBytes.CompareTo(other.SetupBytes); return(result == 0 ? AcquiredSlots.CompareTo(other.AcquiredSlots) : result); }
/// <inheritdoc /> public int CompareTo(WorkerSetupCost other) { return(SetupBytes.CompareTo(other.SetupBytes)); }