Interface ISemanticExtensibilityProvider<TContext, TFlags>
- Namespace
- RDCore.SDK.Extensibility
- Assembly
- RDCore.SDK.dll
Signals a starting, ongoing, completed, succeeded, or failed semantic operation to an extension process via LSP.
public interface ISemanticExtensibilityProvider<TContext, TFlags> where TContext : SemanticContext<TFlags> where TFlags : struct, Enum
Type Parameters
TContextThe type of the
SemanticContextto be externally enriched.TFlagsThe type of semantic flags associated with this context.
Methods
OnSemanticOperationAsync(TContext)
Serializes and broadcasts the semantic context over LSP to any interested semantic analyzer extensions.
Task OnSemanticOperationAsync(TContext context)
Parameters
contextTContextThe semantic context.
Returns
- Task
An asynchronous
Taskthat completes when the semantic context is transmitted over LSP to all interested extensions.