示例#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
文件: Groups.cs 项目: zoroz/Terminals
 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;
 }