提交 f721e03a 编写于 作者: J Jason Malinowski

Add backwards-compatibility overload of QuickInfoDisplayDeferredContent constructor

上级 59f570ee
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Windows;
using System.Collections.Generic;
namespace Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.QuickInfo
{
......@@ -16,6 +15,29 @@ internal class QuickInfoDisplayDeferredContent : IDeferredQuickInfoContent
public IDeferredQuickInfoContent ExceptionText { get; }
public IDeferredQuickInfoContent WarningGlyph { get; }
// DO NOT REMOVE: compat for Typescript
public QuickInfoDisplayDeferredContent(
IDeferredQuickInfoContent symbolGlyph,
IDeferredQuickInfoContent warningGlyph,
IDeferredQuickInfoContent mainDescription,
IDeferredQuickInfoContent documentation,
IDeferredQuickInfoContent typeParameterMap,
IDeferredQuickInfoContent anonymousTypes,
IDeferredQuickInfoContent usageText,
IDeferredQuickInfoContent exceptionText)
: this(
symbolGlyph,
warningGlyph,
mainDescription,
documentation,
typeParameterMap,
anonymousTypes,
usageText,
exceptionText,
capturesText: new ClassifiableDeferredContent(new List<TaggedText>()))
{
}
public QuickInfoDisplayDeferredContent(
IDeferredQuickInfoContent symbolGlyph,
IDeferredQuickInfoContent warningGlyph,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册