18 references to SnippetExpansionClient
Microsoft.VisualStudio.LanguageServices (18)
Snippets\AbstractSnippetCommandHandler.cs (1)
321protected bool AreSnippetsEnabledWithClient(EditorCommandArgs args, [NotNullWhen(true)] out SnippetExpansionClient? snippetExpansionClient)
Snippets\ISnippetExpansionClientFactory.cs (2)
14SnippetExpansionClient? TryGetSnippetExpansionClient(ITextView textView); 15SnippetExpansionClient GetOrCreateSnippetExpansionClient(Document document, ITextView textView, ITextBuffer subjectBuffer);
Snippets\SnippetExpansionClient.cs (2)
586static void EnsureRegisteredForModelUpdatedEvents(SnippetExpansionClient client, Controller controller) 1198internal readonly struct TestAccessor(SnippetExpansionClient instance)
Snippets\SnippetExpansionClientFactory.cs (8)
45public SnippetExpansionClient? TryGetSnippetExpansionClient(ITextView textView) 49_ = textView.Properties.TryGetProperty(typeof(SnippetExpansionClient), out SnippetExpansionClient? expansionClient); 53public SnippetExpansionClient GetOrCreateSnippetExpansionClient(Document document, ITextView textView, ITextBuffer subjectBuffer) 57if (!textView.Properties.TryGetProperty(typeof(SnippetExpansionClient), out SnippetExpansionClient? expansionClient)) 60textView.Properties.AddProperty(typeof(SnippetExpansionClient), expansionClient); 66protected virtual SnippetExpansionClient CreateSnippetExpansionClient(Document document, ITextView textView, ITextBuffer subjectBuffer)
Snippets\SnippetFunctions\AbstractSnippetFunction.cs (2)
20protected readonly SnippetExpansionClient snippetExpansionClient; 22public AbstractSnippetFunction(SnippetExpansionClient snippetExpansionClient, ITextBuffer subjectBuffer, IThreadingContext threadingContext)
Snippets\SnippetFunctions\SnippetFunctionClassName.cs (1)
21public SnippetFunctionClassName(SnippetExpansionClient snippetExpansionClient, ITextBuffer subjectBuffer, string fieldName, IThreadingContext threadingContext)
Snippets\SnippetFunctions\SnippetFunctionGenerateSwitchCases.cs (1)
25SnippetExpansionClient snippetExpansionClient,
Snippets\SnippetFunctions\SnippetFunctionSimpleTypeName.cs (1)
23SnippetExpansionClient snippetExpansionClient,