7 types derived from Description
Microsoft.Build.Tasks.Core (1)
System.ComponentModel.TypeConverter (1)
System.Data.Common (1)
System.Diagnostics.Process (1)
System.ServiceProcess.ServiceController (1)
System.Windows.Forms (1)
System.Windows.Forms.Design (1)
163 instantiations of Description
aspire (43)
Configuration\AspireConfigFile.cs (24)
69[Description("The Git repository, configuration path, optional branch or commit, and version last applied to this app, or an explicit opt-out.")]
77[Description("AppHost entry point configuration.")]
85[Description("Aspire SDK version configuration.")]
104[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.")]
111[Description("Feature flags for enabling/disabling experimental or optional features. Key is feature name, value is enabled (true) or disabled (false).")]
118[Description("Documentation source overrides for aspire docs and aspire docs api. Leave these unset to use the built-in aspire.dev sources.")]
122[Description("Named agent skill sources, merged across configuration layers. The built-in default source remains enabled unless explicitly disabled. " + SourceNameValidator.Description)]
126[Description("Named NuGet integration sources and allowed package patterns, merged across configuration layers. " + SourceNameValidator.Description)]
133[Description("Developer certificate configuration.")]
140[Description("Container network tunnel configuration.")]
147[Description("Launch profiles (ports, environment variables). Replaces apphost.run.json.")]
175[Description("Package references for the AppHost. Value is either a string (NuGet, short form — empty = SDK version, otherwise explicit version) or an object with a required \"source\" discriminator (\"nuget\", \"project\", or \"npm\") and per-source fields (version for nuget, path for project/npm).")]
179[Description("Named template sources from global or accepted init-source configuration. Each source specifies an absolute local path or a Git repository with optional ref, path, and displayName. " + SourceNameValidator.Description)]
512[Description("Relative path to the AppHost entry point file (e.g., \"Program.cs\", \"app.ts\"). Relative to the directory containing aspire.config.json.")]
519[Description("Language identifier (e.g., \"typescript/nodejs\", \"python\"). Used to determine which runtime to use for execution.")]
532[Description("The Aspire SDK version. Determines the version of Aspire.Hosting packages to use.")]
545[Description($"""Optional override for the llms.txt documentation source consumed by aspire docs. Defaults to {DocsSourceConfiguration.DefaultLlmsTxtUrl}.""")]
552[Description("Optional API reference source overrides consumed by aspire docs api. Leave these unset to use the built-in aspire.dev API sources.")]
565[Description("NSS database paths used for browser certificate trust on Linux. Separate paths with the platform path separator. Prefix a path with \"firefox=\" or \"chromium=\" to apply the trust settings expected by that browser family.")]
583[Description("Base image used by the container network tunnel that routes traffic to host services.")]
596[Description($"""Optional override for the API sitemap consumed by aspire docs api. Defaults to {ApiDocsSourceConfiguration.DefaultSitemapUrl}.""")]
606[Description("Optional template selector group heading. Defaults to the source alias when omitted or blank; the alias remains the source identity.")]
628[Description("Application URLs (e.g., \"https://localhost:17000;http://localhost:15000\").")]
635[Description("Environment variables for this profile.")]
Configuration\AspireJsonConfiguration.cs (9)
26[Description("The JSON Schema URL for this configuration file.")]
36[Description("The path to the AppHost entry point file (e.g., \"Program.cs\", \"app.ts\"). Relative to the directory containing .aspire/settings.json.")]
44[Description("The language identifier for this AppHost (e.g., \"typescript\", \"python\"). Used to determine which runtime to use for execution.")]
52[Description("The Aspire channel to use for package resolution (e.g., \"stable\", \"preview\", \"staging\"). Used by aspire add to determine which NuGet feed to use.")]
60[Description("The Aspire SDK version used for this polyglot AppHost project. Determines the version of Aspire.Hosting packages to use.")]
68[Description("Package references as an object literal (like npm's package.json). Key is package name, value is version.")]
77[Description("Feature flags for enabling/disabling experimental or optional features. Key is feature name, value is enabled (true) or disabled (false).")]
81[Description("Named agent skill sources, merged across configuration layers. The built-in default source remains enabled unless explicitly disabled. " + SourceNameValidator.Description)]
85[Description("Named NuGet integration sources and allowed package patterns, merged across configuration layers. " + SourceNameValidator.Description)]
DotNetHostedAgent (1)
Microsoft.AspNetCore.Components.WebView.WindowsForms (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)
416AIFunction tool = AIFunctionFactory.Create(([Description("The person whose age is being requested")] string personName) => 42, "GetPersonAge", "Gets the age of the specified person.");
493AIFunction tool = AIFunctionFactory.Create(([Description("The person whose age is being requested")] string personName) => 42, "GetPersonAge", "Gets the age of the specified person.");
576AIFunction tool = AIFunctionFactory.Create(([Description("The person whose age is being requested")] string personName) => 42, "GetPersonAge", "Gets the age of the specified person.");
650AIFunction tool = AIFunctionFactory.Create(([Description("The person whose age is being requested")] string personName) => 42, "GetPersonAge", "Gets the age of the specified person.");
1175Tools = [AIFunctionFactory.Create(([Description("The person whose age is being requested")] string personName) => 42, "GetPersonAge", "Gets the age of the specified person.")],
1360Tools = [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 Description
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)