Gets the context in which a code action executes. Exposed by ICodeActionBuilder.
If you implement your own code action using the Metalama SDK, you should cast this interface to ISdkCodeActionContext.
Namespace: Metalama.Extensions.CodeFixes
Assembly: Metalama.Extensions.CodeFixes.dll
Syntax
[InternalImplement]
[CompileTime]
public interface ICodeActionContextProperties
| Name | Description |
|---|---|
| CancellationToken | Gets the cancellation token. |
| ServiceProvider | Gets the service provider. |