ICodeLensCallbackService Interface

Définition

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 dataPoint peut provenir d’un rappel au processus vs.

GetCallbackJsonRpc(IAsyncCodeLensDataPointProvider)
Obsolète.

Obtient un JsonRpc sur lequel le dataPointProvider peut provenir d’un rappel au processus vs.

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)

S’applique à