Example #1
0
 internal Favorites(FilePersistence persistence, FavoriteIcons favoriteIcons, ConnectionManager connectionManager)
 {
     this.persistence       = persistence;
     this.favoriteIcons     = favoriteIcons;
     this.connectionManager = connectionManager;
     this.dispatcher        = persistence.Dispatcher;
     this.groups            = this.persistence.GroupsStore;
     this.cache             = new Dictionary <Guid, IFavorite>();
     this.batchUpdates      = new FavoriteBatchUpdates(persistence);
 }
Example #2
0
 internal Groups(FilePersistence persistence)
 {
     this.persistence = persistence;
     this.dispatcher  = persistence.Dispatcher;
     this.cache       = new Dictionary <Guid, IGroup>();
 }
Example #3
0
 internal void AssignStores(Groups groups, DataDispatcher dispatcher)
 {
     this.groups     = groups;
     this.dispatcher = dispatcher;
 }
Example #4
0
 public SerializationContextBuilder(Groups groups, Favorites favorites, DataDispatcher dispatcher)
 {
     this.groups     = groups;
     this.favorites  = favorites;
     this.dispatcher = dispatcher;
 }