166 references to Description
aspire (7)
Configuration\AspireJsonConfiguration.cs (7)
24[Description("The JSON Schema URL for this configuration file.")] 33[Description("The path to the AppHost entry point file (e.g., \"Program.cs\", \"app.ts\"). Relative to the directory containing .aspire/settings.json.")] 41[Description("The language identifier for this AppHost (e.g., \"typescript\", \"python\"). Used to determine which runtime to use for execution.")] 49[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.")] 57[Description("The Aspire SDK version used for this polyglot AppHost project. Determines the version of Aspire.Hosting packages to use.")] 65[Description("Package references as an object literal (like npm's package.json). Key is package name, value is version.")] 74[Description("Feature flags for enabling/disabling experimental or optional features. Key is feature name, value is enabled (true) or disabled (false).")]
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)
Mcp\AspireTelemetryMcpTools.cs (6)
43[Description("List structured logs for resources.")] 45[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.")] 95[Description("List 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.")] 97[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.")] 144[Description("List 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.")] 146[Description("The trace id of the distributed trace.")]
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)
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.AspNetCore.Mvc.ApiExplorer.Test (1)
EndpointMetadataApiDescriptionProviderTest.cs (1)
1049var apiDescription = GetApiDescription(([Description("The name.")] string name) => { });
Microsoft.AspNetCore.OpenApi.Tests (21)
Services\OpenApiSchemaService\OpenApiSchemaService.Annotations.cs (10)
59[Description("Class: DescribedReferencesDto")] 62[Description("Property: DescribedReferencesDto.Child1")] 65[Description("Property: DescribedReferencesDto.Child2")] 71[Description("Class: DescribedChildDto")] 74[Description("Property: DescribedChildDto.ChildValue")] 125[Description("Class: DescribedInlinedSchemasDto")] 128[Description("Property: DescribedInlinedSchemasDto.Inlined1")] 131[Description("Property: DescribedInlinedSchemasDto.Inlined2")] 137[Description("Class: DescribedInlinedDto")] 140[Description("Property: DescribedInlinedDto.ChildValue")]
Services\OpenApiSchemaService\OpenApiSchemaService.ParameterSchemas.cs (4)
508builder.MapGet("/api", ([Description("The ID of the entity")] int id) => { }); 991[Description("A query model.")] 994[Description("The ID of the entity")] 998[Description("The maximum number of results")]
Services\OpenApiSchemaService\OpenApiSchemaService.PropertySchemas.cs (1)
682[Description("A description field")]
Services\OpenApiSchemaService\OpenApiSchemaService.RequestBodySchemas.cs (5)
409builder.MapPost("/api", ([Description("The todo item to create.")] DescriptionTodo todo) => { }); 727[Description("The unique identifier for a todo item.")] 730[Description("The title of the todo item.")] 733[Description("The completion status of the todo item.")] 736[Description("The date and time the todo item was created.")]
Services\OpenApiSchemaService\OpenApiSchemaService.ResponseSchemas.cs (1)
1071[Description("This is a description")]
Microsoft.DotNet.Build.Tasks.Feed (5)
src\model\PublishingConstants.cs (5)
73[Description("daily")] 76[Description("signed")] 79[Description("validated")] 82[Description("preview")] 85[Description("")]
Microsoft.Extensions.AI (6)
ChatCompletion\ImageGeneratingChatClient.cs (6)
370[Description("Generates images based on a text description.")] 372[Description("A detailed description of the image to generate")] string prompt, 407[Description("Lists the identifiers of all images available for edit.")] 422[Description("Edits an existing image based on a text description.")] 424[Description("A detailed description of the image to generate")] string prompt, 425[Description($"The image to edit from one of the available image identifiers returned by {nameof(GetImagesForEdit)}")] string imageId,
Microsoft.Extensions.AI.Abstractions (1)
Contents\DataContent.cs (1)
273[Description("A data URI representing the content.")]
Microsoft.Extensions.AI.Abstractions.Tests (19)
ChatCompletion\ChatResponseFormatTests.cs (4)
200[Description("abcd")] 203[Description("efg")] 206[Description("hijk")] 211[Description("Type description")]
test\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")] 1293[Description("Original description for first")] int first, 1294[Description("Original description for second")] string second) => 1334[Description("Description from attribute")] int first, 1353[Description("Description from attribute")] int first,
Microsoft.Extensions.AI.Evaluation.Integration.Tests (2)
AgentQualityEvaluatorTests.cs (2)
230[Description("Gets the orders for a customer")] 241[Description("Gets the delivery status of an order")]
Microsoft.Extensions.AI.Integration.Tests (4)
ChatClientIntegrationTests.cs (4)
726var getTemperature = AIFunctionFactory.Create([Description("Gets the current temperature")] () => 765var getTemperature = AIFunctionFactory.Create([Description("Gets the current temperature")] () => 807var getTemperature = AIFunctionFactory.Create([Description("Gets the current temperature")] () => 1229var getWeather = AIFunctionFactory.Create(([Description("Gets weather for a city")] string city) =>
Microsoft.Extensions.AI.OllamaSharp.Integration.Tests (3)
OllamaSharpChatClientIntegrationTests.cs (3)
66var stockPriceTool = AIFunctionFactory.Create([Description("Returns the stock price for a given ticker symbol")] ( 67[Description("The ticker symbol")] string symbol, 68[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.")], 1327Tools = [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)
1143AIFunction 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 (7)
ChatCompletion\ChatClientStructuredOutputExtensionsTests.cs (1)
438[Description("Some test description")]
Functions\AIFunctionFactoryTest.cs (6)
275Func<string, string, string> dotnetFunc3 = [Description("This is a test function")] ([Description("This is A")] a, [Description("This is B")] b) => b + " " + a; 295Func<string> funcWithBoth = [DisplayName("my_function")][Description("A test function")] () => "test"; 1067[return: Description("The summed result")] 1305[return: Description("The summed result")]
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")]
Roslyn.VisualStudio.DiagnosticsWindow (1)
VisualStudioDiagnosticsWindowPackage.cs (1)
34[Description("Roslyn Diagnostics Window")]
Sample (2)
Endpoints\MapSchemasEndpoints.cs (2)
23schemas.MapGet("/primitives", ([Description("The ID associated with the Todo item.")] int id, [Description("The number of Todos to fetch")] int size) => { });
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.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"));
System.Windows.Forms.Design.Tests (11)
System\ComponentModel\Design\DesignerActionListTests.cs (6)
141[Description("Description")] 148[Description("")] 155[Description(null)] 183[Description("Description")] 188[Description("")] 193[Description(null)]
System\ComponentModel\Design\Serialization\DesignerSerializationManagerTests.cs (1)
2013[Description("Description")]
System\Drawing\Design\ToolboxItemTests.cs (4)
1751[Description("Description")] 1760[Description("Description")] 1769[Description("Description")] 1778[Description("Description")]
System.Windows.Forms.Tests (1)
System\Windows\Forms\AxHost.AxPropertyDescriptorTests.cs (1)
1426[Description("Description")]