1 implementation of IDocumentNavigationService
Microsoft.CodeAnalysis.Features (1)
Navigation\IDocumentNavigationService.cs (1)
31internal abstract class AbstractDocumentNavigationService : IDocumentNavigationService
17 references to IDocumentNavigationService
Microsoft.CodeAnalysis.ExternalAccess.FSharp (4)
Navigation\IFSharpDocumentNavigationService.cs (4)
16/// <inheritdoc cref="IDocumentNavigationService.CanNavigateToSpanAsync"/> 18/// <inheritdoc cref="IDocumentNavigationService.CanNavigateToPositionAsync"/> 21/// <inheritdoc cref="IDocumentNavigationService.GetLocationForSpanAsync"/> 23/// <inheritdoc cref="IDocumentNavigationService.GetLocationForPositionAsync"/>
Microsoft.CodeAnalysis.Features (13)
DocumentSpanExtensions.cs (3)
14private static (Workspace workspace, IDocumentNavigationService service) GetNavigationParts(DocumentSpan documentSpan) 18var service = workspace.Services.GetRequiredService<IDocumentNavigationService>();
ExternalAccess\VSTypeScript\Api\VSTypeScriptDocumentNavigationServiceWrapper.cs (3)
14IDocumentNavigationService underlyingObject, 17private readonly IDocumentNavigationService _underlyingObject = underlyingObject; 21=> new(workspace.Services.GetRequiredService<IDocumentNavigationService>(),
Navigation\DefaultDocumentNavigationService.cs (1)
11[ExportWorkspaceService(typeof(IDocumentNavigationService), ServiceLayer.Default), Shared]
Navigation\IDocumentNavigationService.cs (4)
48public static Task<bool> CanNavigateToSpanAsync(this IDocumentNavigationService service, Workspace workspace, DocumentId documentId, TextSpan textSpan, CancellationToken cancellationToken) 51public static Task<bool> CanNavigateToPositionAsync(this IDocumentNavigationService service, Workspace workspace, DocumentId documentId, int position, CancellationToken cancellationToken) 54public static Task<INavigableLocation?> GetLocationForSpanAsync(this IDocumentNavigationService service, Workspace workspace, DocumentId documentId, TextSpan textSpan, CancellationToken cancellationToken) 57public static Task<INavigableLocation?> GetLocationForPositionAsync(this IDocumentNavigationService service, Workspace workspace, DocumentId documentId, int position, CancellationToken cancellationToken)
Navigation\NavigationOptions.cs (2)
11/// This option can be passed to the <see cref="IDocumentNavigationService"/> APIs to request that a provisional (or preview) tab 15/// This option can be passed to the <see cref="IDocumentNavigationService"/> APIs to request that the navigation should activate the tab.