提交 618e0e1f 编写于 作者: C CyrusNajmabadi

Rename type.

上级 a909c51b
......@@ -574,8 +574,8 @@
<Compile Include="Implementation\Outlining\OutliningCommandHandler.cs" />
<Compile Include="Implementation\Outlining\OutliningExtensions.cs" />
<Compile Include="Implementation\Outlining\OutliningSpan.cs" />
<Compile Include="Implementation\Outlining\OutliningTaggerProvider.cs" />
<Compile Include="Implementation\Outlining\OutliningTaggerProvider.Tag.cs" />
<Compile Include="Implementation\Outlining\VisualStudio14OutliningTaggerProvider.cs" />
<Compile Include="Implementation\Outlining\VisualStudio14OutliningTaggerProvider.Tag.cs" />
<Compile Include="Implementation\Outlining\RegionCollector.cs" />
<Compile Include="Implementation\Peek\DefinitionPeekableItem.cs" />
<Compile Include="Implementation\Peek\ExternalFilePeekableItem.cs" />
......
......@@ -12,7 +12,7 @@
namespace Microsoft.CodeAnalysis.Editor.Implementation.Outlining
{
internal partial class OutliningTaggerProvider
internal partial class VisualStudio14OutliningTaggerProvider
{
// Our implementation of an outlining region tag. The collapsedHintForm
// is dynamically created using an elision buffer over the actual text
......
......@@ -30,14 +30,14 @@ namespace Microsoft.CodeAnalysis.Editor.Implementation.Outlining
/// persist them to the SUO file to persist this data across sessions.
/// </summary>
[Export(typeof(ITaggerProvider))]
[Export(typeof(OutliningTaggerProvider))]
[Export(typeof(VisualStudio14OutliningTaggerProvider))]
[TagType(typeof(IOutliningRegionTag))]
[ContentType(ContentTypeNames.RoslynContentType)]
internal partial class OutliningTaggerProvider :
internal partial class VisualStudio14OutliningTaggerProvider :
AbstractOutliningTaggerProvider<IOutliningRegionTag>
{
[ImportingConstructor]
public OutliningTaggerProvider(
public VisualStudio14OutliningTaggerProvider(
IForegroundNotificationService notificationService,
ITextEditorFactoryService textEditorFactoryService,
IEditorOptionsFactoryService editorOptionsFactoryService,
......
......@@ -128,7 +128,7 @@ private static async Task<List<IOutliningRegionTag>> GetTagsFromWorkspaceAsync(T
var editorService = workspace.GetService<IEditorOptionsFactoryService>();
var projectionService = workspace.GetService<IProjectionBufferFactoryService>();
var provider = new OutliningTaggerProvider(
var provider = new VisualStudio14OutliningTaggerProvider(
workspace.ExportProvider.GetExportedValue<IForegroundNotificationService>(),
textService, editorService, projectionService,
AggregateAsynchronousOperationListener.EmptyListeners);
......
......@@ -98,7 +98,7 @@ public async Task TestSynchronousOutlining()
{
WpfTestCase.RequireWpfFact($"{nameof(AsynchronousTaggerTests)}.{nameof(TestSynchronousOutlining)} creates asynchronous taggers");
var tagProvider = new OutliningTaggerProvider(
var tagProvider = new VisualStudio14OutliningTaggerProvider(
workspace.GetService<IForegroundNotificationService>(),
workspace.GetService<ITextEditorFactoryService>(),
workspace.GetService<IEditorOptionsFactoryService>(),
......
......@@ -221,7 +221,7 @@ private bool StartsWithRegionTag(ITextSnapshotLine line)
private void EnsureOutliningTagsComputed(IWpfTextView wpfTextView)
{
// We need to get our outlining tag source to notify it to start blocking
var outliningTaggerProvider = this.Package.ComponentModel.GetService<OutliningTaggerProvider>();
var outliningTaggerProvider = this.Package.ComponentModel.GetService<VisualStudio14OutliningTaggerProvider>();
var subjectBuffer = wpfTextView.TextBuffer;
var snapshot = subjectBuffer.CurrentSnapshot;
......
......@@ -35,11 +35,11 @@ internal partial class VisualStudioSymbolNavigationService : ForegroundThreadAff
private readonly ITextEditorFactoryService _textEditorFactoryService;
private readonly ITextDocumentFactoryService _textDocumentFactoryService;
private readonly IMetadataAsSourceFileService _metadataAsSourceFileService;
private readonly OutliningTaggerProvider _outliningTaggerProvider;
private readonly VisualStudio14OutliningTaggerProvider _outliningTaggerProvider;
public VisualStudioSymbolNavigationService(
SVsServiceProvider serviceProvider,
OutliningTaggerProvider outliningTaggerProvider)
VisualStudio14OutliningTaggerProvider outliningTaggerProvider)
{
_serviceProvider = serviceProvider;
_outliningTaggerProvider = outliningTaggerProvider;
......
......@@ -17,7 +17,7 @@ internal class VisualStudioSymbolNavigationServiceFactory : IWorkspaceServiceFac
[ImportingConstructor]
private VisualStudioSymbolNavigationServiceFactory(
SVsServiceProvider serviceProvider,
[Import] OutliningTaggerProvider outliningTaggerProvider)
[Import] VisualStudio14OutliningTaggerProvider outliningTaggerProvider)
{
_singleton = new VisualStudioSymbolNavigationService(serviceProvider, outliningTaggerProvider);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册