17 writes to Name
Aspire.Hosting (1)
Pipelines\DistributedApplicationPipeline.cs (1)
35Name = name,
Aspire.Hosting.Azure (7)
AzureEnvironmentResource.cs (7)
68Name = "validate-azure-cli-login", 74Name = "create-provisioning-context", 81Name = WellKnownPipelineSteps.ProvisionInfrastructure, 88Name = WellKnownPipelineSteps.BuildCompute, 94Name = "push-container-images", 102Name = WellKnownPipelineSteps.DeployCompute, 110Name = "print-dashboard-url",
Aspire.Hosting.Tests (9)
Pipelines\DistributedApplicationPipelineTests.cs (9)
249Name = "annotated-step", 283Name = "annotated-step-1", 292Name = "annotated-step-2", 361Name = "step1", 368Name = "step2", 614Name = "duplicate-step", 621Name = "duplicate-step", 956Name = "annotated-step", 1004Name = "annotated-step",
24 references to Name
Aspire.Hosting (24)
Pipelines\DistributedApplicationPipeline.cs (22)
27if (_steps.Any(s => s.Name == name)) 96if (_steps.Any(s => s.Name == step.Name)) 99$"A step with the name '{step.Name}' has already been added to the pipeline."); 116var stepsByName = allSteps.ToDictionary(s => s.Name); 174if (!stepNames.Add(step.Name)) 177$"Duplicate step name: '{step.Name}'"); 188$"Step '{step.Name}' depends on unknown step '{dependency}'"); 197$"Step '{step.Name}' is required by unknown step '{requiredBy}'"); 221graph[step.Name] = []; 222inDegree[step.Name] = 0; 234$"Step '{step.Name}' is required by unknown step '{requiredByStep}'"); 238!requiredByStepObj.DependsOnSteps.Contains(step.Name)) 240requiredByStepObj.DependsOnSteps.Add(step.Name); 254$"Step '{step.Name}' depends on unknown step '{dependency}'"); 257dependents.Add(step.Name); 258inDegree[step.Name]++; 316var processedSteps = new HashSet<string>(levels.SelectMany(l => l.Select(s => s.Name))); 317var stepsInCycle = steps.Where(s => !processedSteps.Contains(s.Name)).Select(s => s.Name).ToList(); 336$"Step '{step.Name}' failed: {ex.Message}", exceptionInfo.SourceException); 352sb.Append(CultureInfo.InvariantCulture, $" - {step.Name}");
Pipelines\PipelineStep.cs (2)
52DependsOnSteps.Add(step.Name); 70RequiredBySteps.Add(step.Name);