Ejemplo n.º 1
0
 /// <summary>
 /// Adds an ignored item to this transaction
 /// </summary>
 /// <param name="ignoredItem">The ignored item to add</param>
 public void AddIgnoredItem(TransactionIgnoredItem ignoredItem)
 {
     if (IgnoredItems.All(x => x.Description != ignoredItem.Description))
     {
         IgnoredItems.Add(ignoredItem);
     }
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Adds an ignored item to this transaction
 /// </summary>
 /// <param name="ignoredItem">The ignored item to add</param>
 public void AddIgnoredItem(TransactionIgnoredItem ignoredItem)
 {
     if (IgnoredItems.All(x => x.Description != ignoredItem.Description))
         IgnoredItems.Add(ignoredItem);
 }