16 references to TriggerKind
Microsoft.CodeAnalysis.Razor.Workspaces (1)
Remote\IRemoteFormattingService.cs (1)
39
ValueTask<
TriggerKind
> GetOnTypeFormattingTriggerKindAsync(
Microsoft.CodeAnalysis.Remote.Razor (7)
Formatting\RemoteFormattingService.cs (7)
15
using Response = Microsoft.CodeAnalysis.Razor.Remote.IRemoteFormattingService.
TriggerKind
;
102
public ValueTask<
Response
> GetOnTypeFormattingTriggerKindAsync(
114
private async ValueTask<
Response
> GetOnTypeFormattingTriggerKindAsync(RemoteDocumentContext context, LinePosition linePosition, string triggerCharacter, CancellationToken cancellationToken)
120
return
Response
.Invalid;
125
return
Response
.Invalid;
130
return
Response
.ValidHtml;
136
return
Response
.ValidCSharp;
Microsoft.VisualStudio.LanguageServices.Razor (4)
src\Razor\src\Razor\src\Microsoft.CodeAnalysis.Razor.CohostingShared\Formatting\CohostOnTypeFormattingEndpoint.cs (4)
86
var
triggerKind = await _remoteServiceInvoker.TryInvokeAsync<IRemoteFormattingService, IRemoteFormattingService.
TriggerKind
>(
91
if (triggerKind == IRemoteFormattingService.
TriggerKind
.Invalid)
99
if (triggerKind == IRemoteFormattingService.
TriggerKind
.ValidHtml)
Microsoft.VisualStudioCode.RazorExtension (4)
src\Razor\src\Razor\src\Microsoft.CodeAnalysis.Razor.CohostingShared\Formatting\CohostOnTypeFormattingEndpoint.cs (4)
86
var
triggerKind = await _remoteServiceInvoker.TryInvokeAsync<IRemoteFormattingService, IRemoteFormattingService.
TriggerKind
>(
91
if (triggerKind == IRemoteFormattingService.
TriggerKind
.Invalid)
99
if (triggerKind == IRemoteFormattingService.
TriggerKind
.ValidHtml)