Inheritance: dnSpy.Contracts.Hex.Intellisense.HexQuickInfoSession
Exemplo n.º 1
0
		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;
		}
Exemplo 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);
        }