public AlloyQuickInfoSource(ITextBuffer textBuffer, AlloyQuickInfoSourceProvider provider)
        {
            Contract.Requires<ArgumentNullException>(textBuffer != null, "textBuffer");
            Contract.Requires<ArgumentNullException>(provider != null, "provider");

            _textBuffer = textBuffer;
            _provider = provider;
        }
        public AlloyQuickInfoSource(ITextBuffer textBuffer, AlloyQuickInfoSourceProvider provider)
        {
            Contract.Requires <ArgumentNullException>(textBuffer != null, "textBuffer");
            Contract.Requires <ArgumentNullException>(provider != null, "provider");

            _textBuffer = textBuffer;
            _provider   = provider;
        }
Beispiel #3
0
        public AlloyQuickInfoSource([NotNull] ITextBuffer textBuffer, [NotNull] AlloyQuickInfoSourceProvider provider)
        {
            Requires.NotNull(textBuffer, nameof(textBuffer));
            Requires.NotNull(provider, nameof(provider));

            _textBuffer = textBuffer;
            _provider   = provider;
        }