ICodeLensCallbackService Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Important
This API is not CLS-compliant.
Represents a service provided by the CodeLens service infrastructure to allow CodeLens extensions to call back to VS.
public interface class ICodeLensCallbackService
[System.CLSCompliant(false)]
public interface ICodeLensCallbackService
public interface ICodeLensCallbackService
[<System.CLSCompliant(false)>]
type ICodeLensCallbackService = interface
type ICodeLensCallbackService = interface
Public Interface ICodeLensCallbackService
- Attributes
Examples
[Import(typeof(ICodeLensCallbackService))]
private ICodeLensCallbackService callbackService;
Remarks
This is a MEF component part provided by the CodeLens service infrastructure, and can be imported by CodeLens extensions.
Methods
GetCallbackJsonRpc(IAsyncCodeLensDataPoint) |
Obsolete.
Gets a JsonRpc on which the |
GetCallbackJsonRpc(IAsyncCodeLensDataPointProvider) |
Obsolete.
Gets a JsonRpc on which the |
InvokeAsync(IAsyncCodeLensDataPoint, String, IReadOnlyList<Object>, CancellationToken) |
Invoke a callback method in the VS process using a JSON-RPC stream tied to the supplied |
InvokeAsync(IAsyncCodeLensDataPointProvider, String, IReadOnlyList<Object>, CancellationToken) |
Invoke a callback method in the VS process using a JSON-RPC stream tied to the supplied |
InvokeAsync<TResult>(IAsyncCodeLensDataPoint, String, IReadOnlyList<Object>, CancellationToken) |
Invoke a callback method in the VS process using a JSON-RPC stream tied to the supplied |
InvokeAsync<TResult>(IAsyncCodeLensDataPointProvider, String, IReadOnlyList<Object>, CancellationToken) |
Invoke a callback method in the VS process using a JSON-RPC stream tied to the supplied |