提交 6cde105f 编写于 作者: J Jason Malinowski

Add one more shim for Live Share

上级 e13b27fb
......@@ -28,6 +28,12 @@ internal partial class InvisibleEditor : IInvisibleEditor
private OLE.Interop.IOleUndoManager _manager;
private readonly bool _needsUndoRestored;
[Obsolete("This is a compatibility shim for Live Share; please do not use it.")]
public InvisibleEditor(IServiceProvider serviceProvider, string filePath, AbstractProject projectOpt, bool needsSave, bool needsUndoDisabled)
: this(serviceProvider, filePath, projectOpt?.Hierarchy, needsSave, needsUndoDisabled)
{
}
/// <remarks>
/// <para>The optional project is used to obtain an <see cref="IVsProject"/> 1nstance. When this instance is
/// provided, Visual Studio will use <see cref="IVsProject.IsDocumentInProject"/> to attempt to locate the
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册