7 types derived from DescriptionAttribute
System.ComponentModel.TypeConverter (1)
System.Data.Common (1)
System.Diagnostics.Process (1)
System.Drawing.Common (1)
System.ServiceProcess.ServiceController (1)
System.Windows.Forms (1)
System.Windows.Forms.Design (1)
170 instantiations of DescriptionAttribute
aspire (18)
Configuration\AspireConfigFile.cs (11)
60[Description("AppHost entry point configuration.")]
68[Description("Aspire SDK version configuration.")]
87[Description("The Aspire channel to use for package resolution (e.g., \"stable\", \"preview\", \"staging\", \"daily\"). Used by aspire add to determine which NuGet feed to use.")]
94[Description("Feature flags for enabling/disabling experimental or optional features. Key is feature name, value is enabled (true) or disabled (false).")]
101[Description("Launch profiles (ports, environment variables). Replaces apphost.run.json.")]
108[Description("Package references for non-first-class languages. Key is package name, value is version. A value ending in \".csproj\" is treated as a project reference.")]
408[Description("Relative path to the AppHost entry point file (e.g., \"Program.cs\", \"app.ts\"). Relative to the directory containing aspire.config.json.")]
415[Description("Language identifier (e.g., \"typescript/nodejs\", \"python\"). Used to determine which runtime to use for execution.")]
428[Description("The Aspire SDK version. Determines the version of Aspire.Hosting packages to use.")]
441[Description("Application URLs (e.g., \"https://localhost:17000;http://localhost:15000\").")]
448[Description("Environment variables for this profile.")]
Aspire.Dashboard (23)
Mcp\AspireResourceMcpTools.cs (6)
34[Description("List the application resources. Includes information about their type (.NET project, container, executable), running state, source, HTTP endpoints, health status, commands, configured environment variables, and relationships.")]
74[Description("List console logs for a resource. The console logs includes standard output from resources and resource commands. Known resource commands are 'start', 'stop' and 'restart' which are used to start and stop resources. Don't print the full console logs in the response to the user. Console logs should be examined when determining why a resource isn't running.")]
76[Description("The resource name.")]
142[Description("Executes a command on a resource. If a resource needs to be restarted and is currently stopped, use the start command instead.")]
143public async Task ExecuteResourceCommand([Description("The resource name")] string resourceName, [Description("The command name")] string commandName)
Model\Assistant\AssistantChatDataContext.cs (11)
61[Description("Get the application resources. Includes information about their type (.NET project, container, executable), running state, source, HTTP endpoints, health status and relationships.")]
82[Description("Get a distributed trace. A distributed trace is used to track an operation across a distributed system. Includes information about spans (operations) in the trace, including the span source, status and optional error information.")]
84[Description("The trace id of the distributed trace.")]
105[Description("Get structured logs for resources.")]
107[Description("The resource name. This limits logs returned to the specified resource. If no resource name is specified then structured logs for all resources are returned.")]
150[Description("Get distributed traces for resources. A distributed trace is used to track operations. A distributed trace can span multiple resources across a distributed system. Includes a list of distributed traces with their IDs, resources in the trace, duration and whether an error occurred in the trace.")]
152[Description("The resource name. This limits traces returned to the specified resource. If no resource name is specified then distributed traces for all resources are returned.")]
193[Description("Get structured logs for a distributed trace. Logs for a distributed trace each belong to a span identified by 'span_id'. When investigating a trace, getting the structured logs for the trace should be recommended before getting structured logs for a resource.")]
195[Description("The trace id of the distributed trace.")]
232[Description("Get console logs for a resource. The console logs includes standard output from resources and resource commands. Known resource commands are 'start', 'stop' and 'restart' which are used to start and stop resources. Don't print the full console logs in the response to the user. Console logs should be examined when determining why a resource isn't running.")]
234[Description("The resource name.")]
Microsoft.AspNetCore.Components.WebView.WindowsForms (5)
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (1)
Microsoft.AspNetCore.OpenApi.Tests (21)
Microsoft.DotNet.Build.Tasks.Feed (5)
Microsoft.Extensions.AI (6)
Microsoft.Extensions.AI.Abstractions (1)
Microsoft.Extensions.AI.Abstractions.Tests (19)
Microsoft.Extensions.AI.Evaluation.Integration.Tests (2)
Microsoft.Extensions.AI.Integration.Tests (4)
Microsoft.Extensions.AI.OllamaSharp.Integration.Tests (3)
Microsoft.Extensions.AI.OpenAI.Tests (8)
OpenAIChatClientTests.cs (6)
384AIFunction tool = AIFunctionFactory.Create(([Description("The person whose age is being requested")] string personName) => 42, "GetPersonAge", "Gets the age of the specified person.");
461AIFunction tool = AIFunctionFactory.Create(([Description("The person whose age is being requested")] string personName) => 42, "GetPersonAge", "Gets the age of the specified person.");
544AIFunction tool = AIFunctionFactory.Create(([Description("The person whose age is being requested")] string personName) => 42, "GetPersonAge", "Gets the age of the specified person.");
618AIFunction tool = AIFunctionFactory.Create(([Description("The person whose age is being requested")] string personName) => 42, "GetPersonAge", "Gets the age of the specified person.");
1143Tools = [AIFunctionFactory.Create(([Description("The person whose age is being requested")] string personName) => 42, "GetPersonAge", "Gets the age of the specified person.")],
1327Tools = [AIFunctionFactory.Create(([Description("The person whose age is being requested")] string personName) => 42, "GetPersonAge", "Gets the age of the specified person.")],
Microsoft.Extensions.AI.Tests (7)
Microsoft.ML.FastTree (15)
Roslyn.VisualStudio.DiagnosticsWindow (1)
Sample (2)
Shared.Tests (6)
System.ComponentModel.Primitives (1)
System.Windows.Forms (4)
System.Windows.Forms.Design (6)
System.Windows.Forms.Design.Tests (11)
System.Windows.Forms.Tests (1)
64 references to DescriptionAttribute
aspire (2)
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (2)
Microsoft.AspNetCore.OpenApi (5)
Microsoft.DotNet.Build.Tasks.Feed (3)
Microsoft.Extensions.AI.Abstractions (10)
Microsoft.Extensions.AI.Abstractions.Tests (2)
Microsoft.Extensions.AI.Tests (2)
Microsoft.ML.Core (3)
netstandard (1)
System (1)
System.ComponentModel.Primitives (4)
System.ComponentModel.TypeConverter (3)
System.Configuration.ConfigurationManager (3)
System.Windows.Forms.Design (4)
System.Windows.Forms.Primitives (1)
System.Windows.Forms.Tests (18)