public HexQuickInfoSessionImpl(HexView hexView, HexCellPosition triggerPoint, bool trackMouse, HexIntellisensePresenterFactoryService intellisensePresenterFactoryService, Lazy <HexQuickInfoSourceProvider, VSUTIL.IOrderable>[] quickInfoSourceProviders) { if (hexView == null) { throw new ArgumentNullException(nameof(hexView)); } if (triggerPoint.IsDefault) { throw new ArgumentException(); } if (intellisensePresenterFactoryService == null) { throw new ArgumentNullException(nameof(intellisensePresenterFactoryService)); } if (quickInfoSourceProviders == null) { throw new ArgumentNullException(nameof(quickInfoSourceProviders)); } QuickInfoContent = new VSLI.BulkObservableCollection <object>(); HexView = hexView; TriggerPoint = triggerPoint; TrackMouse = trackMouse; this.intellisensePresenterFactoryService = intellisensePresenterFactoryService; this.quickInfoSourceProviders = quickInfoSourceProviders; HexView.Closed += HexView_Closed; }
public HexQuickInfoSessionImpl(HexView hexView, HexCellPosition triggerPoint, bool trackMouse, HexIntellisensePresenterFactoryService intellisensePresenterFactoryService, Lazy<HexQuickInfoSourceProvider, VSUTIL.IOrderable>[] quickInfoSourceProviders) { if (hexView == null) throw new ArgumentNullException(nameof(hexView)); if (triggerPoint.IsDefault) throw new ArgumentException(); if (intellisensePresenterFactoryService == null) throw new ArgumentNullException(nameof(intellisensePresenterFactoryService)); if (quickInfoSourceProviders == null) throw new ArgumentNullException(nameof(quickInfoSourceProviders)); QuickInfoContent = new VSLI.BulkObservableCollection<object>(); HexView = hexView; TriggerPoint = triggerPoint; TrackMouse = trackMouse; this.intellisensePresenterFactoryService = intellisensePresenterFactoryService; this.quickInfoSourceProviders = quickInfoSourceProviders; HexView.Closed += HexView_Closed; }