8 types derived from DescriptionAttribute
Microsoft.Build.Tasks.Core (1)
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)
141 instantiations of DescriptionAttribute
aspire (22)
Configuration\AspireConfigFile.cs (15)
67[Description("AppHost entry point configuration.")]
75[Description("Aspire SDK version configuration.")]
94[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.")]
101[Description("Feature flags for enabling/disabling experimental or optional features. Key is feature name, value is enabled (true) or disabled (false).")]
108[Description("Documentation source overrides for aspire docs and aspire docs api. Leave these unset to use the built-in aspire.dev sources.")]
115[Description("Launch profiles (ports, environment variables). Replaces apphost.run.json.")]
122[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.")]
436[Description("Relative path to the AppHost entry point file (e.g., \"Program.cs\", \"app.ts\"). Relative to the directory containing aspire.config.json.")]
443[Description("Language identifier (e.g., \"typescript/nodejs\", \"python\"). Used to determine which runtime to use for execution.")]
456[Description("The Aspire SDK version. Determines the version of Aspire.Hosting packages to use.")]
469[Description($"""Optional override for the llms.txt documentation source consumed by aspire docs. Defaults to {DocsSourceConfiguration.DefaultLlmsTxtUrl}.""")]
476[Description("Optional API reference source overrides consumed by aspire docs api. Leave these unset to use the built-in aspire.dev API sources.")]
489[Description($"""Optional override for the API sitemap consumed by aspire docs api. Defaults to {ApiDocsSourceConfiguration.DefaultSitemapUrl}.""")]
502[Description("Application URLs (e.g., \"https://localhost:17000;http://localhost:15000\").")]
509[Description("Environment variables for this profile.")]
DotNetHostedAgent (1)
Microsoft.AspNetCore.Components.WebView.WindowsForms (5)
Microsoft.Extensions.AI (6)
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.")],
1328Tools = [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 (20)
Functions\AIFunctionFactoryTest.cs (19)
278Func<string, string, string> dotnetFunc3 = [Description("This is a test function")] ([Description("This is A")] a, [Description("This is B")] b) => b + " " + a;
298Func<string> funcWithBoth = [DisplayName("my_function")][Description("A test function")] () => "test";
600public static string One(IExcludedService service, [Description("q")] string query, [Description("o")] string? optional = null) => $"{service.Value}{query}{optional}";
601public static string Two(IExcludedService service, [Description("o")] string? optional = null) => $"{service.Value}{optional}";
602public static string Three(IExcludedService service, [Description("n")] string name) => $"{service.Value}{name}";
603public static string Four(IExcludedService service, [Description("n")] string name, [Description("a")] string? aspect = null) => $"{service.Value}{name}{aspect}";
604public static string Five(IExcludedService service, [Description("q")] string query, [Description("f")] string framework) => $"{service.Value}{query}{framework}";
605public static string Six(IExcludedService service, [Description("c")] string? category = null) => $"{service.Value}{category}";
606public static string Seven(IExcludedService service, [Description("t")] string? topic = null) => $"{service.Value}{topic}";
1297[return: Description("The summed result")]
1535[return: Description("The summed result")]
1843[Description("The compute method")]
1844[return: Description("The computed result")]
1845public abstract int Compute([Description("The input value")] int value);
Microsoft.ML.FastTree (15)
Microsoft.TemplateEngine.Cli (19)
Shared.Tests (6)
System.ComponentModel.Primitives (1)
System.Windows.Forms (4)
System.Windows.Forms.Design (6)
40 references to DescriptionAttribute
aspire (1)
Microsoft.AspNetCore.OpenApi (5)
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)