public void AddContext(TwitterAccountData data) { LogTo.Info($"Adding account data for {data.AccountName} ({data.UserId})"); Contexts.Add(new ContextEntry(Notifier, data, Cache)); SaveToFile(); ContextsChanged?.Invoke(this, EventArgs.Empty); }
private void Context_PropertyChanged(object sender, System.ComponentModel.PropertyChangedEventArgs e) { ContextsChanged?.Invoke(sender, e); }