ICodeLensCallbackService Interface
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Important
Cette API n’est pas conforme CLS.
Représente un service fourni par l’infrastructure de service CodeLens pour permettre aux extensions CodeLens d’effectuer un rappel vers VS.
public interface class ICodeLensCallbackService
[System.CLSCompliant(false)]
public interface ICodeLensCallbackService
[<System.CLSCompliant(false)>]
type ICodeLensCallbackService = interface
Public Interface ICodeLensCallbackService
- Attributs
Remarques
Il s’agit d’une partie de composant MEF fournie par l’infrastructure de service CodeLens et peut être importée par les extensions CodeLens. Exemple :
[Import(typeof(ICodeLensCallbackService))]
private ICodeLensCallbackService callbackService;
Méthodes
| GetCallbackJsonRpc(IAsyncCodeLensDataPoint) |
Obsolète.
Obtient un JsonRpc sur lequel le |
| GetCallbackJsonRpc(IAsyncCodeLensDataPointProvider) |
Obsolète.
Obtient un JsonRpc sur lequel le |
| InvokeAsync(IAsyncCodeLensDataPoint, String, IReadOnlyList<Object>, CancellationToken) | |
| InvokeAsync(IAsyncCodeLensDataPointProvider, String, IReadOnlyList<Object>, CancellationToken) | |
| InvokeAsync<TResult>(IAsyncCodeLensDataPoint, String, IReadOnlyList<Object>, CancellationToken) | |
| InvokeAsync<TResult>(IAsyncCodeLensDataPointProvider, String, IReadOnlyList<Object>, CancellationToken) | |