示例#1
0
 private static bool CalcUpdatesCellValue(UspGetCalcs_Result calc)
 {
     return String.Equals(calc.UpdateContext, Literals.CalcUpdateContext.CellValue, StringComparison.CurrentCultureIgnoreCase);
 }
示例#2
0
 private static bool CellIsOperandOfCalc(CellVm cell, UspGetCalcs_Result calcResult)
 {
     return cell.GridCode == calcResult.GridCode && cell.RowCode == calcResult.RowCode && cell.ColCode == calcResult.ColCode;
 }
示例#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;
 }
示例#4
0
 private static bool CellIsTargetOfCalc(CellVm cell, UspGetCalcs_Result calcResult)
 {
     return cell.GridCode == calcResult.TargetGridCode && cell.RowCode == calcResult.TargetRowCode && cell.ColCode == calcResult.TargetColCode;
 }