public bool Initialize() { if (!this.TryInitializeDatabase()) { return(false); } this.groups = new Groups(); this.credentials = new StoredCredentials(this.Dispatcher); this.favorites = new Favorites(this, this.groups, this.credentials, this.connectionManager, this.favoriteIcons); this.groups.AssignStores(this.Dispatcher, this.favorites); this.connectionHistory = new ConnectionHistory(this.favorites, this.Dispatcher); this.Factory = new Factory(this.groups, this.favorites, this.credentials, this.Dispatcher, this.connectionManager); return(true); }
public void Initialize() { if (!this.TryInitializeDatabase()) { return; } this.Dispatcher = new DataDispatcher(); this.groups = new Groups(); this.credentials = new StoredCredentials(this.security); this.favorites = new Favorites(this.groups, this.credentials, this.security, this.Dispatcher); this.groups.AssignStores(this.Dispatcher, this.favorites); this.connectionHistory = new ConnectionHistory(this.favorites); this.Factory = new Factory(this.groups, this.favorites, this.credentials, this.security, this.Dispatcher); }
public void AssignStores(DataDispatcher dispatcher, Favorites favorites) { this.dispatcher = dispatcher; this.favorites = favorites; }
internal void AssignStores(Groups groups, DataDispatcher dispatcher, Favorites favorites) { this.groups = groups; this.dispatcher = dispatcher; this.favorites = favorites; }
internal ConnectionHistory(Favorites favorites, DataDispatcher dispatcher) { this.favorites = favorites; this.dispatcher = dispatcher; }