67 references to AppendLine
aspire (11)
Mcp\Docs\DocsSearchService.cs (6)
54
sb.
AppendLine
(CultureInfo.InvariantCulture, $"# {title ?? $"Documentation for: \"{Query}\""}");
56
sb.
AppendLine
(CultureInfo.InvariantCulture, $"Found {Results.Count} relevant documentation snippets:");
65
sb.
AppendLine
(CultureInfo.InvariantCulture, $"## {result.Title} (Score: {result.Score:F3})");
69
sb.
AppendLine
(CultureInfo.InvariantCulture, $"## {result.Title}");
72
sb.
AppendLine
(CultureInfo.InvariantCulture, $"**Slug:** `{result.Slug}`");
76
sb.
AppendLine
(CultureInfo.InvariantCulture, $"**Section:** {result.Section}");
Mcp\Tools\ListAppHostsTool.cs (1)
66
responseBuilder.
AppendLine
(CultureInfo.InvariantCulture, $"App hosts within scope of working directory: {workingDirectory}");
Mcp\Tools\ListDocsTool.cs (4)
58
sb.
AppendLine
(CultureInfo.InvariantCulture, $"Found {docs.Count} documentation pages:");
63
sb.
AppendLine
(CultureInfo.InvariantCulture, $"## {doc.Title}");
64
sb.
AppendLine
(CultureInfo.InvariantCulture, $"**Slug:** `{doc.Slug}`");
67
sb.
AppendLine
(CultureInfo.InvariantCulture, $"> {doc.Summary}");
Aspire.Dashboard (5)
Model\EnvHelpers.cs (2)
37
builder.
AppendLine
(System.Globalization.CultureInfo.InvariantCulture, $"{envVar.Key}=\"{value}\"");
41
builder.
AppendLine
(System.Globalization.CultureInfo.InvariantCulture, $"{envVar.Key}={value}");
Model\GenAI\GenAIVisualizerDialogViewModel.cs (1)
145
sb.
AppendLine
(CultureInfo.InvariantCulture, $"{current.GetType().FullName}: {current.Message}");
Otlp\Storage\TelemetryRepository.cs (2)
1408
sb.
AppendLine
(CultureInfo.InvariantCulture, $"There are {currentSpanLinks.Count} orphaned span links.");
1411
sb.
AppendLine
(CultureInfo.InvariantCulture, $"\tSource span ID: {link.SourceSpanId}, Target span ID: {link.SpanId}");
Aspire.EndToEnd.Tests (1)
tests\Shared\TemplatesTesting\CommandResult.cs (1)
39
_ = message.
AppendLine
(CultureInfo.InvariantCulture, $"{Environment.NewLine}Standard Output:{Environment.NewLine}{Output}");
Aspire.Hosting (16)
ApplicationModel\ResourceNotificationService.cs (2)
913
error.
AppendLine
(CultureInfo.InvariantCulture, $" {line.TrimEnd()}");
921
error.
AppendLine
(CultureInfo.InvariantCulture, $"Unable to retrieve current state for resource '{resourceName}'.");
Pipelines\DistributedApplicationPipeline.cs (14)
878
sb.
AppendLine
(CultureInfo.InvariantCulture, $"Total steps defined: {allSteps.Count}");
898
sb.
AppendLine
(CultureInfo.InvariantCulture, $"{i + 1,3}. {step.Name}");
911
sb.
AppendLine
(CultureInfo.InvariantCulture, $"Step: {step.Name}");
916
sb.
AppendLine
(CultureInfo.InvariantCulture, $" Description: {step.Description}");
942
sb.
AppendLine
(CultureInfo.InvariantCulture, $" Resource: {step.Resource.Name} ({step.Resource.GetType().Name})");
949
sb.
AppendLine
(CultureInfo.InvariantCulture, $" Tags: {string.Join(", ", sortedTags)}");
971
sb.
AppendLine
(CultureInfo.InvariantCulture, $"WARNING: Step '{step.Name}' depends on missing step '{dep}'");
989
sb.
AppendLine
(CultureInfo.InvariantCulture, $" - {step.Name}");
1009
sb.
AppendLine
(CultureInfo.InvariantCulture, $"If targeting '{targetStep.Name}':");
1015
sb.
AppendLine
(CultureInfo.InvariantCulture, $" Direct dependencies: {string.Join(", ", sortedDeps)}");
1033
sb.
AppendLine
(CultureInfo.InvariantCulture, $" Total steps: {stepsForTarget.Count}");
1048
sb.
AppendLine
(CultureInfo.InvariantCulture, $" [{level}] {stepsAtLevel[0]}");
1053
sb.
AppendLine
(CultureInfo.InvariantCulture, $" [{level}] {parallelSteps} (parallel)");
1200
sb.
AppendLine
(CultureInfo.InvariantCulture, $"Pipeline with {_steps.Count} step(s):");
Aspire.Templates.Tests (1)
tests\Shared\TemplatesTesting\CommandResult.cs (1)
39
_ = message.
AppendLine
(CultureInfo.InvariantCulture, $"{Environment.NewLine}Standard Output:{Environment.NewLine}{Output}");
AzureFunctionsEndToEnd.Functions (4)
MyHttpTrigger.cs (4)
36
stringBuilder.
AppendLine
(CultureInfo.InvariantCulture, $"Aspire-injected EventHubProducerClient namespace: {eventHubProducerClient.FullyQualifiedNamespace}");
37
stringBuilder.
AppendLine
(CultureInfo.InvariantCulture, $"Aspire-injected QueueServiceClient URI: {queueServiceClient.Uri}");
38
stringBuilder.
AppendLine
(CultureInfo.InvariantCulture, $"Aspire-injected BlobServiceClient URI: {blobServiceClient.Uri}");
39
stringBuilder.
AppendLine
(CultureInfo.InvariantCulture, $"Aspire-injected BlobContainerClient URI: {blobContainerClient.Uri}");
Microsoft.AspNetCore.Http.Extensions (8)
src\Shared\ParameterBindingMethodCache.cs (8)
193
stringBuilder.
AppendLine
(CultureInfo.InvariantCulture, $"TryParse method found on {TypeNameHelper.GetTypeDisplayName(type, fullName: false)} with incorrect format. Must be a static method with format");
194
stringBuilder.
AppendLine
(CultureInfo.InvariantCulture, $"bool TryParse(string, IFormatProvider, out {TypeNameHelper.GetTypeDisplayName(type, fullName: false)})");
195
stringBuilder.
AppendLine
(CultureInfo.InvariantCulture, $"bool TryParse(string, out {TypeNameHelper.GetTypeDisplayName(type, fullName: false)})");
287
stringBuilder.
AppendLine
(CultureInfo.InvariantCulture, $"BindAsync method found on {TypeNameHelper.GetTypeDisplayName(nonNullableParameterType, fullName: false)} with incorrect format. Must be a static method with format");
288
stringBuilder.
AppendLine
(CultureInfo.InvariantCulture, $"ValueTask<{TypeNameHelper.GetTypeDisplayName(nonNullableParameterType, fullName: false)}> BindAsync(HttpContext context, ParameterInfo parameter)");
289
stringBuilder.
AppendLine
(CultureInfo.InvariantCulture, $"ValueTask<{TypeNameHelper.GetTypeDisplayName(nonNullableParameterType, fullName: false)}> BindAsync(HttpContext context)");
290
stringBuilder.
AppendLine
(CultureInfo.InvariantCulture, $"ValueTask<{TypeNameHelper.GetTypeDisplayName(nonNullableParameterType, fullName: false)}?> BindAsync(HttpContext context, ParameterInfo parameter)");
291
stringBuilder.
AppendLine
(CultureInfo.InvariantCulture, $"ValueTask<{TypeNameHelper.GetTypeDisplayName(nonNullableParameterType, fullName: false)}?> BindAsync(HttpContext context)");
Microsoft.AspNetCore.Mvc.Abstractions (8)
src\Shared\ParameterBindingMethodCache.cs (8)
193
stringBuilder.
AppendLine
(CultureInfo.InvariantCulture, $"TryParse method found on {TypeNameHelper.GetTypeDisplayName(type, fullName: false)} with incorrect format. Must be a static method with format");
194
stringBuilder.
AppendLine
(CultureInfo.InvariantCulture, $"bool TryParse(string, IFormatProvider, out {TypeNameHelper.GetTypeDisplayName(type, fullName: false)})");
195
stringBuilder.
AppendLine
(CultureInfo.InvariantCulture, $"bool TryParse(string, out {TypeNameHelper.GetTypeDisplayName(type, fullName: false)})");
287
stringBuilder.
AppendLine
(CultureInfo.InvariantCulture, $"BindAsync method found on {TypeNameHelper.GetTypeDisplayName(nonNullableParameterType, fullName: false)} with incorrect format. Must be a static method with format");
288
stringBuilder.
AppendLine
(CultureInfo.InvariantCulture, $"ValueTask<{TypeNameHelper.GetTypeDisplayName(nonNullableParameterType, fullName: false)}> BindAsync(HttpContext context, ParameterInfo parameter)");
289
stringBuilder.
AppendLine
(CultureInfo.InvariantCulture, $"ValueTask<{TypeNameHelper.GetTypeDisplayName(nonNullableParameterType, fullName: false)}> BindAsync(HttpContext context)");
290
stringBuilder.
AppendLine
(CultureInfo.InvariantCulture, $"ValueTask<{TypeNameHelper.GetTypeDisplayName(nonNullableParameterType, fullName: false)}?> BindAsync(HttpContext context, ParameterInfo parameter)");
291
stringBuilder.
AppendLine
(CultureInfo.InvariantCulture, $"ValueTask<{TypeNameHelper.GetTypeDisplayName(nonNullableParameterType, fullName: false)}?> BindAsync(HttpContext context)");
Microsoft.AspNetCore.OpenApi (8)
src\Shared\ParameterBindingMethodCache.cs (8)
193
stringBuilder.
AppendLine
(CultureInfo.InvariantCulture, $"TryParse method found on {TypeNameHelper.GetTypeDisplayName(type, fullName: false)} with incorrect format. Must be a static method with format");
194
stringBuilder.
AppendLine
(CultureInfo.InvariantCulture, $"bool TryParse(string, IFormatProvider, out {TypeNameHelper.GetTypeDisplayName(type, fullName: false)})");
195
stringBuilder.
AppendLine
(CultureInfo.InvariantCulture, $"bool TryParse(string, out {TypeNameHelper.GetTypeDisplayName(type, fullName: false)})");
287
stringBuilder.
AppendLine
(CultureInfo.InvariantCulture, $"BindAsync method found on {TypeNameHelper.GetTypeDisplayName(nonNullableParameterType, fullName: false)} with incorrect format. Must be a static method with format");
288
stringBuilder.
AppendLine
(CultureInfo.InvariantCulture, $"ValueTask<{TypeNameHelper.GetTypeDisplayName(nonNullableParameterType, fullName: false)}> BindAsync(HttpContext context, ParameterInfo parameter)");
289
stringBuilder.
AppendLine
(CultureInfo.InvariantCulture, $"ValueTask<{TypeNameHelper.GetTypeDisplayName(nonNullableParameterType, fullName: false)}> BindAsync(HttpContext context)");
290
stringBuilder.
AppendLine
(CultureInfo.InvariantCulture, $"ValueTask<{TypeNameHelper.GetTypeDisplayName(nonNullableParameterType, fullName: false)}?> BindAsync(HttpContext context, ParameterInfo parameter)");
291
stringBuilder.
AppendLine
(CultureInfo.InvariantCulture, $"ValueTask<{TypeNameHelper.GetTypeDisplayName(nonNullableParameterType, fullName: false)}?> BindAsync(HttpContext context)");
Microsoft.AspNetCore.Server.IntegrationTesting.IIS (2)
IISDeployer.cs (2)
544
configDump.
AppendLine
(CultureInfo.InvariantCulture, $"Site Name:{site.Name} Id:{site.Id} State:{site.State}");
548
configDump.
AppendLine
(CultureInfo.InvariantCulture, $"AppPool Name:{appPool.Name} Id:{appPool.ProcessModel} State:{appPool.State}");
PresentationFramework (1)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\Xaml\Context\XamlContextStack.cs (1)
144
sb.
AppendLine
(CultureInfo.InvariantCulture, $"Stack: {(_currentFrame is null ? -1 : _currentFrame.Depth + 1)} frames");
System.Linq.Expressions (1)
System\Linq\Expressions\Interpreter\LightLambda.cs (1)
170
sb.
AppendLine
(CultureInfo.InvariantCulture, $"{_indent}IP_{i.ToString().PadLeft(4, '0')}: {instructionView.GetValue()}");
System.Xaml (1)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\Xaml\Context\XamlContextStack.cs (1)
144
sb.
AppendLine
(CultureInfo.InvariantCulture, $"Stack: {(_currentFrame is null ? -1 : _currentFrame.Depth + 1)} frames");