internal FollowManagerWindow(StatusesListBoxCommandHandler commandHandler, ClientParameters cp) { InitializeComponent(); this.Title += " (" + cp.Accounts.Single() + ")"; this.ViewModel.RequestMessageBox += (sender, e) => e.Value(this); this.ViewModel.Apply(commandHandler, cp); }
public ClientParameters(IEnumerable<AccountToken> accounts, StatusCache statusCache, StatusesListBoxCommandHandler statusesListBoxCommandHandler) { this.StatusCache = statusCache; this.Accounts = accounts; this.StatusesListBoxCommandHandler = statusesListBoxCommandHandler; }
internal void Apply(StatusesListBoxCommandHandler commandHandler, ClientParameters cp) { this.CommandHandler = commandHandler; this.cp = cp; BeginRefreshFollows(); BeginRefreshBlocks(); }