4 types derived from SnippetPart
Microsoft.VisualStudio.LanguageServices.Razor (4)
Snippets\XmlSnippetParser.ParsedXmlSnippet.cs (4)
35internal record SnippetFieldPart(string FieldName, string DefaultText, int? EditIndex) : SnippetPart(DefaultText); 42internal record SnippetCursorPart() : SnippetPart("$0") 47internal record SnippetStringPart(string Text) : SnippetPart(Text); 48internal record SnippetShortcutPart() : SnippetPart("$shortcut$")
5 references to SnippetPart
Microsoft.VisualStudio.LanguageServices.Razor (5)
Snippets\SnippetCache.cs (1)
57foreach (var part in parsedSnippet.Parts)
Snippets\XmlSnippetParser.ExpansionTemplate.cs (1)
90using var snippetParts = new PooledArrayBuilder<SnippetPart>();
Snippets\XmlSnippetParser.ParsedXmlSnippet.cs (3)
13public ImmutableArray<SnippetPart> Parts { get; } 16public ParsedXmlSnippet(ImmutableArray<SnippetPart> parts) 21foreach (var part in parts)