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