Пример #1
0
 internal void RemoveRepository(RepositorySettings repo)
 {
     Repositories.Remove(repo);
     Save();
     RepositoriesChanged?.Invoke(this, EventArgs.Empty);
 }
Пример #2
0
 internal void AddNewRepository(string displayName, string id, int updateInterval)
 {
     Repositories.Add(new RepositorySettings(displayName, id, updateInterval));
     Save();
     RepositoriesChanged?.Invoke(this, EventArgs.Empty);
 }