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