Exemple #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;
 }
Exemple #2
0
 public static void AddUpdate(Update update)
 {
     updates.Add(update);
 }