Esempio n. 1
0
File: Program.cs Progetto: klusha/VK
 public static void ToUpdate()
 {
     Producer producer = new Producer();
     List<String> uniqueVkIDFriends = new List<String>();
     uniqueVkIDFriends.AddRange(Preparation());
     foreach (var vkIDFriend in uniqueVkIDFriends)
     {
         producer.SendMessage(vkIDFriend, "ToUpdate");
     }
 }
Esempio n. 2
0
File: Program.cs Progetto: klusha/VK
 public static void ToTop(int idUser)
 {
     Producer producer = new Producer();
     producer.SendMessage(idUser.ToString(), "ToTop");
 }