Esempio n. 1
0
 public MyFriendVM()
 {
     this.MyFriendList         = new ObservableCollection <User>();
     this.userDirectoryService = new UserDirectoryService();
     this.IsBusy = false;
     this.SearchFriendsCommand = new Command(() => SearchMyFriends(), () => !this.IsBusy);
 }
Esempio n. 2
0
 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);
 }