1 implementation of Description
Microsoft.CodeAnalysis.Razor.Compiler (1)
Language\DirectiveDescriptor.cs (1)
191
public string
Description
{ get; set; }
28 writes to Description
Microsoft.CodeAnalysis.Razor.Compiler (22)
Language\Components\ComponentCodeDirective.cs (1)
17
builder.
Description
= Resources.FunctionsDirective_Description;
Language\Components\ComponentConstrainedTypeParamDirective.cs (1)
20
builder.
Description
= ComponentResources.TypeParamDirective_Description;
Language\Components\ComponentInjectDirective.cs (1)
24
builder.
Description
= "Inject a service from the application's service container into a property.";
Language\Components\ComponentLayoutDirective.cs (1)
19
builder.
Description
= ComponentResources.LayoutDirective_Description;
Language\Components\ComponentPageDirective.cs (1)
20
builder.
Description
= ComponentResources.PageDirective_Description;
Language\Components\ComponentPreserveWhitespaceDirective.cs (1)
19
builder.
Description
= ComponentResources.PreserveWhitespaceDirective_Description;
Language\Components\ComponentRenderModeDirective.cs (1)
18
builder.
Description
= ComponentResources.RenderModeDirective_Documentation;
Language\Components\ComponentTypeParamDirective.cs (1)
19
builder.
Description
= ComponentResources.TypeParamDirective_Description;
Language\Extensions\AttributeDirective.cs (1)
19
builder.
Description
= ComponentResources.AttributeDirective_Description;
Language\Extensions\FunctionsDirective.cs (1)
18
builder.
Description
= Resources.FunctionsDirective_Description;
Language\Extensions\ImplementsDirective.cs (1)
19
builder.
Description
= ComponentResources.ImplementsDirective_Description;
Language\Extensions\InheritsDirective.cs (1)
20
builder.
Description
= Resources.InheritsDirective_Description;
Language\Extensions\NamespaceDirective.cs (1)
21
builder.
Description
= Resources.NamespaceDirective_Description;
Language\Extensions\SectionDirective.cs (1)
19
builder.
Description
= Resources.SectionDirective_Description;
Language\Legacy\CSharpCodeParser.cs (4)
33
builder.
Description
= Resources.AddTagHelperDirective_Description;
41
builder.
Description
= Resources.UsingDirective_Description;
50
builder.
Description
= Resources.RemoveTagHelperDirective_Description;
59
builder.
Description
= Resources.TagHelperPrefixDirective_Description;
Mvc.Version2_X\NamespaceDirective.cs (1)
26
builder.
Description
= Resources.NamespaceDirective_Description;
Mvc\InjectDirective.cs (1)
26
builder.
Description
= RazorExtensionsResources.InjectDirective_Description;
Mvc\ModelDirective.cs (1)
22
builder.
Description
= RazorExtensionsResources.ModelDirective_Description;
Mvc\PageDirective.cs (1)
24
builder.
Description
= RazorExtensionsResources.PageDirective_Description;
Microsoft.CodeAnalysis.Razor.Workspaces.UnitTests (6)
Completion\DirectiveCompletionItemProviderTest.cs (6)
59
var customDirective = DirectiveDescriptor.CreateSingleLineDirective("custom", builder => builder.
Description
= "My Custom Directive.");
83
builder.
Description
= "My Custom Directive.";
108
builder.
Description
= "My Custom Code Block Directive.";
132
builder.
Description
= "My Custom Razor Block Directive.";
167
builder.
Description
= string.Empty; // Doesn't matter for this test. Just need to provide something to avoid ArgumentNullException
191
builder.
Description
= string.Empty; // Doesn't matter for this test. Just need to provide something to avoid ArgumentNullException