3 implementations of IEmbeddedLanguage
Microsoft.CodeAnalysis.Features (3)
EmbeddedLanguages\DateAndTime\LanguageServices\DateAndTimeEmbeddedLanguage.cs (1)
14internal class DateAndTimeEmbeddedLanguage : IEmbeddedLanguage
EmbeddedLanguages\Json\LanguageServices\JsonEmbeddedLanguage.cs (1)
11internal class JsonEmbeddedLanguage : IEmbeddedLanguage
EmbeddedLanguages\RegularExpressions\LanguageServices\RegexEmbeddedLanguage.cs (1)
14internal class RegexEmbeddedLanguage : IEmbeddedLanguage
12 references to IEmbeddedLanguage
Microsoft.CodeAnalysis.Features (12)
Completion\Providers\AbstractAggregateEmbeddedLanguageCompletionProvider.cs (8)
26/// <see cref="IEmbeddedLanguage.CompletionProvider"/>. 32private ImmutableArray<IEmbeddedLanguage> _languageProviders; 44private static ImmutableHashSet<char> GetTriggerCharactersForEmbeddedLanguage(IEmbeddedLanguage language) 60protected ImmutableArray<IEmbeddedLanguage> GetLanguageProviders(Host.LanguageServices? languageServices) 65ImmutableInterlocked.InterlockedInitialize(ref _languageProviders, languagesProvider?.Languages ?? ImmutableArray<IEmbeddedLanguage>.Empty); 75foreach (var language in GetLanguageProviders(languageServices)) 92foreach (var language in GetLanguageProviders(context.Document.Project.Services)) 114private IEmbeddedLanguage GetLanguage(CompletionItem item)
EmbeddedLanguages\AbstractEmbeddedLanguagesProvider.cs (2)
18public ImmutableArray<IEmbeddedLanguage> Languages { get; } 23Languages = ImmutableArray.Create<IEmbeddedLanguage>(
EmbeddedLanguages\IEmbeddedLanguagesProvider.cs (2)
12/// individual language services through the <see cref="IEmbeddedLanguage"/> interface. 17ImmutableArray<IEmbeddedLanguage> Languages { get; }