Пример #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);
 }
Пример #2
0
 internal Groups(FilePersistence persistence)
 {
     this.persistence = persistence;
     this.dispatcher  = persistence.Dispatcher;
     this.cache       = new Dictionary <Guid, IGroup>();
 }
Пример #3
0
 internal void AssignStores(Groups groups, DataDispatcher dispatcher)
 {
     this.groups     = groups;
     this.dispatcher = dispatcher;
 }
Пример #4
0
 public SerializationContextBuilder(Groups groups, Favorites favorites, DataDispatcher dispatcher)
 {
     this.groups     = groups;
     this.favorites  = favorites;
     this.dispatcher = dispatcher;
 }