154 references to Description
aspire (26)
Configuration\AspireConfigFile.cs (19)
69[Description("AppHost entry point configuration.")]
77[Description("Aspire SDK version configuration.")]
96[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.")]
103[Description("Feature flags for enabling/disabling experimental or optional features. Key is feature name, value is enabled (true) or disabled (false).")]
110[Description("Documentation source overrides for aspire docs and aspire docs api. Leave these unset to use the built-in aspire.dev sources.")]
117[Description("Developer certificate configuration.")]
124[Description("Container network tunnel configuration.")]
131[Description("Launch profiles (ports, environment variables). Replaces apphost.run.json.")]
159[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).")]
485[Description("Relative path to the AppHost entry point file (e.g., \"Program.cs\", \"app.ts\"). Relative to the directory containing aspire.config.json.")]
492[Description("Language identifier (e.g., \"typescript/nodejs\", \"python\"). Used to determine which runtime to use for execution.")]
505[Description("The Aspire SDK version. Determines the version of Aspire.Hosting packages to use.")]
518[Description($"""Optional override for the llms.txt documentation source consumed by aspire docs. Defaults to {DocsSourceConfiguration.DefaultLlmsTxtUrl}.""")]
525[Description("Optional API reference source overrides consumed by aspire docs api. Leave these unset to use the built-in aspire.dev API sources.")]
538[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.")]
556[Description("Base image used by the container network tunnel that routes traffic to host services.")]
569[Description($"""Optional override for the API sitemap consumed by aspire docs api. Defaults to {ApiDocsSourceConfiguration.DefaultSitemapUrl}.""")]
582[Description("Application URLs (e.g., \"https://localhost:17000;http://localhost:15000\").")]
589[Description("Environment variables for this profile.")]
DotNetHostedAgent (1)
Microsoft.AspNetCore.Components.WebView.WindowsForms (5)
Microsoft.Build.Tasks.Core (1)
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.ComponentModel.TypeConverter (2)
System.Data.Common (1)
System.Diagnostics.Process (1)
System.ServiceProcess.ServiceController (1)
System.Windows.Forms (5)
System.Windows.Forms.Design (7)