public async Task <object> callPersistenceMessaging(SimpleDialogMessageResponse response) { int Id = Invoke("clientFacadeService", (object)"callPersistenceMessaging", (object)new object[1] { (object)response.GetBaseTypedObject() }); while (!results.ContainsKey(Id)) { await Task.Delay(10); } results.Remove(Id); return((object)null); }
public static Task <object> callPersistenceMessaging(this LoLClient lolClient, SimpleDialogMessageResponse response) { return(lolClient.InvokeAsync <object>("clientFacadeService", "callPersistenceMessaging", new object[] { (SerializedNameAttribute)Attribute.GetCustomAttribute(response.GetType(), typeof(SerializedNameAttribute)) })); }