Ejemplo n.º 1
0
 public UserLinkData(AccountInfo info, UserSelectorViewModel parent, bool isLink)
 {
     this.parent = parent;
     this.info = info;
     this._profileImageProvider = new ProfileImageProvider(info);
     this._IsLink = isLink;
 }
Ejemplo n.º 2
0
 public AccountViewModel(AccountInfo info)
 {
     this.Info = info;
     this._profileImageProvider = new Common.ProfileImageProvider(info);
     Task.Factory.StartNew(() => UpdatePostChunk());
     ViewModelHelper.BindNotification(info.ConnectionStateChangedEvent, this,
         (o, e) => RaisePropertyChanged(() => ConnectState));
     ViewModelHelper.BindNotification(TimeTickCall, this, (o, e) =>
     {
         Task.Factory.StartNew(() => UpdatePostChunk());
     });
     ViewModelHelper.BindNotification(PostOffice.OnUnderControlChangedEvent, this, (o, e) =>
     {
         RaisePropertyChanged(() => IsAccountUnderControlled);
         RaisePropertyChanged(() => AccountControlReleaseTime);
     });
 }
 public AccountPropertyConfigViewModel(AccountInfo info)
 {
     this.AccountInfo = info;
     this._profileImageProvider = new ProfileImageProvider(info);
 }
Ejemplo n.º 4
0
 public AccountInfoViewModel(AccountInfo info)
 {
     this.info = info;
     this._profileImageProvider = new ProfileImageProvider(info);
 }