public UserLinkData(AccountInfo info, UserSelectorViewModel parent, bool isLink) { this.parent = parent; this.info = info; this._profileImageProvider = new ProfileImageProvider(info); this._IsLink = isLink; }
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); }
public AccountInfoViewModel(AccountInfo info) { this.info = info; this._profileImageProvider = new ProfileImageProvider(info); }