public ZPushWatcher(IAddIn addIn) { this._addIn = addIn; Sync = new ZPushSync(this, addIn); Accounts = new ZPushAccounts(this, addIn); // Need to keep a link to keep receiving events // Might be null when starting a compose window only _explorer = _addIn.GetActiveExplorer(); if (_explorer != null) { _explorer.SelectionChange += Explorer_SelectionChange; } }
internal ZPushAccount(ZPushAccounts zPushAccounts, IAccount account) { this._zPushAccounts = zPushAccounts; this._account = account; }