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