Inheritance: dnSpy.Contracts.Hex.Intellisense.HexQuickInfoSession
		public override HexQuickInfoSession CreateQuickInfoSession(HexView hexView, HexCellPosition triggerPoint, bool trackMouse) {
			if (hexView == null)
				throw new ArgumentNullException(nameof(hexView));
			if (triggerPoint.IsDefault)
				throw new ArgumentException();
			var stack = intellisenseSessionStackMapService.Value.GetStackForHexView(hexView);
			var session = new HexQuickInfoSessionImpl(hexView, triggerPoint, trackMouse, intellisensePresenterFactoryService.Value, quickInfoSourceProviders);
			stack.PushSession(session);
			return session;
		}
Esempio n. 2
0
        public override HexQuickInfoSession CreateQuickInfoSession(HexView hexView, HexCellPosition triggerPoint, bool trackMouse)
        {
            if (hexView is null)
            {
                throw new ArgumentNullException(nameof(hexView));
            }
            if (triggerPoint.IsDefault)
            {
                throw new ArgumentException();
            }
            var stack   = intellisenseSessionStackMapService.Value.GetStackForHexView(hexView);
            var session = new HexQuickInfoSessionImpl(hexView, triggerPoint, trackMouse, intellisensePresenterFactoryService.Value, quickInfoSourceProviders);

            stack.PushSession(session);
            return(session);
        }