Example #1
0
 public static bool TryGetUpdate(string email, out Update update)
 {
     foreach (Update u in updates) {
         if (u.Email == email) {
             update = u;
             return true;
         }
     }
     update = null;
     return false;
 }
Example #2
0
 public static void AddUpdate(Update update)
 {
     updates.Add(update);
 }