private static bool CalcUpdatesCellValue(UspGetCalcs_Result calc) { return String.Equals(calc.UpdateContext, Literals.CalcUpdateContext.CellValue, StringComparison.CurrentCultureIgnoreCase); }
private static bool CellIsOperandOfCalc(CellVm cell, UspGetCalcs_Result calcResult) { return cell.GridCode == calcResult.GridCode && cell.RowCode == calcResult.RowCode && cell.ColCode == calcResult.ColCode; }
private static bool CalcsHaveMatchingTargets(UspGetCalcs_Result calcResult1, UspGetCalcs_Result calcResult2) { return calcResult1.TargetGridCode == calcResult2.TargetGridCode && calcResult1.TargetRowCode == calcResult2.TargetRowCode && calcResult1.TargetColCode == calcResult2.TargetColCode; }
private static bool CellIsTargetOfCalc(CellVm cell, UspGetCalcs_Result calcResult) { return cell.GridCode == calcResult.TargetGridCode && cell.RowCode == calcResult.TargetRowCode && cell.ColCode == calcResult.TargetColCode; }