Пример #1
0
 public void ReportPlayer(HarassmentReport report)
 {
     int Id = Invoke("clientFacadeService", "reportPlayer", new object[] { report.GetBaseTypedObject() });
     while (!results.ContainsKey(Id))
         System.Threading.Thread.Sleep(10);
     results.Remove(Id);
     
 }
 public async Task<object> ReportPlayer(HarassmentReport report)
 {
     int Id = Invoke("clientFacadeService", "reportPlayer", new object[] { report.GetBaseTypedObject() });
     while (!results.ContainsKey(Id))
         await Task.Delay(10);
     results.Remove(Id);
     return null;
 }