150 references to Description
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.")]
Configuration\AspireJsonConfiguration.cs (7)
24[Description("The JSON Schema URL for this configuration file.")] 34[Description("The path to the AppHost entry point file (e.g., \"Program.cs\", \"app.ts\"). Relative to the directory containing .aspire/settings.json.")] 42[Description("The language identifier for this AppHost (e.g., \"typescript\", \"python\"). Used to determine which runtime to use for execution.")] 50[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.")] 58[Description("The Aspire SDK version used for this polyglot AppHost project. Determines the version of Aspire.Hosting packages to use.")] 66[Description("Package references as an object literal (like npm's package.json). Key is package name, value is version.")] 75[Description("Feature flags for enabling/disabling experimental or optional features. Key is feature name, value is enabled (true) or disabled (false).")]
DotNetHostedAgent (1)
Program.cs (1)
33[Description("Get a weather forecast")]
Microsoft.AspNetCore.Components.WebView.WindowsForms (5)
BlazorWebView.cs (5)
75 [Description(@"Path to the host page within the application's static files. Example: wwwroot\index.html.")] 91 [Description(@"Path for initial Blazor navigation when the Blazor component is finished loading.")] 128 [Description("Allows customizing how links are opened. By default, opens internal links in the webview and external links in an external app.")] 135 [Description("Allows customizing the web view before it is created.")] 142 [Description("Allows customizing the web view after it is created.")]
Microsoft.Build.Tasks.Core (1)
System.Design.cs (1)
26public SRDescriptionAttribute(string description) : base(description)
Microsoft.Extensions.AI (6)
ChatCompletion\ImageGeneratingChatClient.cs (6)
367[Description("Generates images based on a text description.")] 369[Description("A detailed description of the image to generate")] string prompt, 404[Description("Lists the identifiers of all images available for edit.")] 419[Description("Edits an existing image based on a text description.")] 421[Description("A detailed description of the image to generate")] string prompt, 422[Description($"The image to edit from one of the available image identifiers returned by {nameof(GetImagesForEdit)}")] string imageId,
Microsoft.Extensions.AI.Abstractions.Tests (19)
ChatCompletion\ChatResponseFormatTests.cs (4)
200[Description("abcd")] 203[Description("efg")] 206[Description("hijk")] 211[Description("Type description")]
parent\parent\Shared\JsonSchemaExporter\TestTypes.cs (6)
892[property: Description("required integer")] int X1, string X2, bool X3, double X4, [Description("required string enum")] StringEnum X5, 893[property: Description("optional integer")] int Y1 = 42, string Y2 = "str", bool Y3 = true, double Y4 = 0, [Description("optional string enum")] StringEnum Y5 = StringEnum.A); 958[Description("The type description")] 961[Description("The property description")]
Utilities\AIJsonUtilitiesTests.cs (9)
346[Description("The city to get the weather for")] string city, 347[Description("The unit to calculate the current temperature to")] string unit = "celsius") => "sunny", 400[Description("The type")] 401public record MyPoco([Description("The parameter")] int Key, MyEnumValue EnumValue, string? Value = "defaultValue"); 550[Description("Method description")] 1537[Description("Original description for first")] int first, 1538[Description("Original description for second")] string second) => 1578[Description("Description from attribute")] int first, 1597[Description("Description from attribute")] int first,
Microsoft.Extensions.AI.Evaluation.Integration.Tests (2)
AgentQualityEvaluatorTests.cs (2)
229[Description("Gets the orders for a customer")] 240[Description("Gets the delivery status of an order")]
Microsoft.Extensions.AI.Integration.Tests (4)
ChatClientIntegrationTests.cs (4)
717var getTemperature = AIFunctionFactory.Create([Description("Gets the current temperature")] () => 756var getTemperature = AIFunctionFactory.Create([Description("Gets the current temperature")] () => 798var getTemperature = AIFunctionFactory.Create([Description("Gets the current temperature")] () => 1220var getWeather = AIFunctionFactory.Create(([Description("Gets weather for a city")] string city) =>
Microsoft.Extensions.AI.OllamaSharp.Integration.Tests (3)
OllamaSharpChatClientIntegrationTests.cs (3)
67var stockPriceTool = AIFunctionFactory.Create([Description("Returns the stock price for a given ticker symbol")] ( 68[Description("The ticker symbol")] string symbol, 69[Description("The currency code such as USD or JPY")] string currency) =>
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.")],
OpenAIConversionTests.cs (1)
25([Description("The name parameter")] string name) => name,
OpenAIResponseClientTests.cs (1)
1232AIFunction tool = 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)
ChatCompletion\ChatClientStructuredOutputExtensionsTests.cs (1)
438[Description("Some test description")]
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)
FastTree.cs (15)
2998[Description("BRANCH_LEQ")] 3000[Description("BRANCH_LT")] 3002[Description("BRANCH_GTE")] 3004[Description("BRANCH_GT")] 3006[Description("BRANCH_EQ")] 3008[Description("BRANCH_LT")] 3010[Description("LEAF")] 3016[Description("NONE")] 3018[Description("SOFTMAX")] 3020[Description("LOGISTIC")] 3022[Description("SOFTMAX_ZERO")] 3028[Description("AVERAGE")] 3030[Description("SUM")] 3032[Description("MIN")] 3034[Description("MAX")]
Microsoft.TemplateEngine.Cli (19)
src\sdk\artifacts\obj\Microsoft.TemplateEngine.Cli\External\Wcwidth\Unicode.cs (19)
26[Description("4.1.0")] 32[Description("5.0.0")] 38[Description("5.1.0")] 44[Description("5.2.0")] 50[Description("6.0.0")] 56[Description("6.1.0")] 62[Description("6.2.0")] 68[Description("6.3.0")] 74[Description("7.0.0")] 80[Description("8.0.0")] 86[Description("9.0.0")] 92[Description("10.0.0")] 98[Description("11.0.0")] 104[Description("12.0.0")] 110[Description("12.1.0")] 116[Description("13.0.0")] 122[Description("14.0.0")] 128[Description("15.0.0")] 134[Description("15.1.0")]
Shared.Tests (6)
JsonSchemaExporter\TestTypes.cs (6)
892[property: Description("required integer")] int X1, string X2, bool X3, double X4, [Description("required string enum")] StringEnum X5, 893[property: Description("optional integer")] int Y1 = 42, string Y2 = "str", bool Y3 = true, double Y4 = 0, [Description("optional string enum")] StringEnum Y5 = StringEnum.A); 958[Description("The type description")] 961[Description("The property description")]
System.ComponentModel.Primitives (1)
System\ComponentModel\DescriptionAttribute.cs (1)
20public DescriptionAttribute() : this(string.Empty)
System.ComponentModel.TypeConverter (2)
System\Timers\TimersDescriptionAttribute.cs (2)
22public TimersDescriptionAttribute(string description) : base(description) { } 24internal TimersDescriptionAttribute(TimersDescriptionStringId id) : base(GetResourceString(id)) { }
System.Data.Common (1)
System\Data\DataSysAttribute.cs (1)
23public DataSysDescriptionAttribute(string description) : base(description)
System.Diagnostics.Process (1)
System\Diagnostics\MonitoringDescriptionAttribute.cs (1)
22public MonitoringDescriptionAttribute(string description) : base(description)
System.Drawing.Common (1)
SRDescriptionAttribute.cs (1)
27public SRDescriptionAttribute(string description) : base(description)
System.ServiceProcess.ServiceController (1)
System\ServiceProcess\ServiceProcessDescriptionAttribute.cs (1)
21public ServiceProcessDescriptionAttribute(string description) : base(description)
System.Windows.Forms (5)
SRDescriptionAttribute.cs (1)
27public SRDescriptionAttribute(string description) : base(description)
System\Windows\Forms\ComponentModel\COM2Interop\COM2AboutBoxPropertyDescriptor.cs (1)
23new DescriptionAttribute(SR.AboutBoxDesc),
System\Windows\Forms\ComponentModel\COM2Interop\COM2IVsPerPropertyBrowsingHandler.cs (1)
67e.Add(new DescriptionAttribute(helpString.ToString()));
System\Windows\Forms\ComponentModel\COM2Interop\COM2TypeInfoProcessor.cs (1)
522info.Attributes.Add(new DescriptionAttribute(helpStringBstr.ToString()));
System\Windows\Forms\Controls\Unsupported\DataGrid\DataGridTableStyle.cs (1)
290[Description("The foreground color for the current data grid row")]
System.Windows.Forms.Design (7)
SRDescriptionAttribute.cs (1)
14: base(description)
System\Windows\Forms\Design\DataGridViewColumnCollectionDialog.cs (1)
1328DescriptionAttribute descriptionAttr = new(SR.DataGridViewColumnTypePropertyDescription);
System\Windows\Forms\Design\DataGridViewColumnDesigner.cs (1)
249new DescriptionAttribute(SR.DesignerPropName),
System\Windows\Forms\Design\ToolStripContainerDesigner.cs (4)
379TypeDescriptor.AddAttributes(_bottomToolStripPanel, bottomToolboxBitmapAttribute, new DescriptionAttribute("bottom")); 380TypeDescriptor.AddAttributes(_rightToolStripPanel, rightToolboxBitmapAttribute, new DescriptionAttribute("right")); 381TypeDescriptor.AddAttributes(_leftToolStripPanel, leftToolboxBitmapAttribute, new DescriptionAttribute("left")); 382TypeDescriptor.AddAttributes(_topToolStripPanel, topToolboxBitmapAttribute, new DescriptionAttribute("top"));