示例#1
0
 public bool Wait(IUser user)
 {
     if (Platform.IsMono)
     {
         // Workaround: make sure the ListView headers are drawn
         Util.Invoke(this, () => RelationshipsListView.EndUpdate());
     }
     this.user = user;
     task      = new TaskCompletionSource <bool>();
     return(task.Task.Result);
 }