Exemple #1
0
 public MyFriendVM()
 {
     this.MyFriendList         = new ObservableCollection <User>();
     this.userDirectoryService = new UserDirectoryService();
     this.IsBusy = false;
     this.SearchFriendsCommand = new Command(() => SearchMyFriends(), () => !this.IsBusy);
 }
 public LoginVM()
 {
     this.userDirectoryService = new UserDirectoryService();
     this.IsBusy       = false;
     this.LoginCommand = new Command(() => LoginDirectory(), () => !this.IsBusy);
 }
 public ProfileVM()
 {
     this.userDirectoryService = new UserDirectoryService();
     this.IsBusy      = false;
     this.SaveCommand = new Command(() => SaveData(), () => !this.IsBusy);
 }