Beispiel #1
0
 public void WhenInsertAStepOnRow(int index, Table steps)
 {
     if (steps.RowCount != 1)
     {
         throw new ArgumentException("Only provide one step row.");
     }
     foreach (var step in steps.Rows)
     {
         StepHelper.SetTodayDateInTableRow("Expected date", step);
         StepHelper.SetTodayDateInTableRow("Actual date", step);
         if (step.ContainsKey("Owner") && !string.IsNullOrEmpty(step["Owner"]))
         {
             step["Owner"] += uniqueStamp;
         }
         MajorGivingPlanDialog.InsertStep(step, index);
     }
 }