Example #1
0
 public void DeleteCall(int callIndex)
 {
     if (callIndex >= 0 && callIndex < CallHistory.Count)
     {
         CallHistory.RemoveAt(callIndex);
     }
 }
Example #2
0
 public void RemoveCallByDuration(ulong duration)
 {
     for (int i = 0; i < CallHistory.Count; i++)
     {
         if (CallHistory[i].CallDuration == duration)
         {
             CallHistory.RemoveAt(i);
         }
     }
 }
Example #3
0
 public void RemoveCallByNumber(ulong number)
 {
     for (int i = 0; i < CallHistory.Count; i++)
     {
         if (CallHistory[i].PhoneNumber == number)
         {
             CallHistory.RemoveAt(i);
         }
     }
 }
Example #4
0
 public void DeleteCall(Call call)
 {
     for (int i = 0; i < CallHistory.Count; i++)
     {
         if (call.CallDateTime == CallHistory[i].CallDateTime)
         {
             CallHistory.RemoveAt(i);
             i--;
         }
     }
 }
Example #5
0
 public void DeleteCall(int callIndex)
 {
     CallHistory.RemoveAt(callIndex);
 }