Exemplo n.º 1
0
        public GoQuickInfoSource(ITextBuffer textBuffer, GoQuickInfoSourceProvider provider)
        {
            Contract.Requires <ArgumentNullException>(textBuffer != null, "textBuffer");
            Contract.Requires <ArgumentNullException>(provider != null, "provider");

            _textBuffer = textBuffer;
            _provider   = provider;
        }
Exemplo n.º 2
0
        public GoQuickInfoSource(ITextBuffer textBuffer, GoQuickInfoSourceProvider provider)
        {
            Contract.Requires<ArgumentNullException>(textBuffer != null, "textBuffer");
            Contract.Requires<ArgumentNullException>(provider != null, "provider");

            _textBuffer = textBuffer;
            _provider = provider;
        }
Exemplo n.º 3
0
        public GoQuickInfoSource([NotNull] ITextBuffer textBuffer, [NotNull] GoQuickInfoSourceProvider provider)
        {
            Requires.NotNull(textBuffer, nameof(textBuffer));
            Requires.NotNull(provider, nameof(provider));

            _textBuffer = textBuffer;
            _provider   = provider;
        }