示例#1
0
文件: Program.cs 项目: 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");
     }
 }
示例#2
0
文件: Program.cs 项目: klusha/VK
 public static void ToTop(int idUser)
 {
     Producer producer = new Producer();
     producer.SendMessage(idUser.ToString(), "ToTop");
 }