File: LiveShare\IRemoteHierarchyService.cs
Web Access
Project: src\src\Razor\src\Razor\src\Microsoft.VisualStudio.LanguageServices.Razor\Microsoft.VisualStudio.LanguageServices.Razor.csproj (Microsoft.VisualStudio.LanguageServices.Razor)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
using System;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.VisualStudio.LiveShare;
 
namespace Microsoft.VisualStudio.Razor.LiveShare;
 
// This type must be a public interface in order to to be implemented as an RPC proxy by live share.
public interface IRemoteHierarchyService : ICollaborationService
{
    Task<bool> HasCapabilityAsync(Uri pathOfFileInProject, string capability, CancellationToken cancellationToken);
}