44 instantiations of PipelineStepFactoryContext
Aspire.Hosting (1)
Pipelines\DistributedApplicationPipeline.cs (1)
708var factoryContext = new PipelineStepFactoryContext
Aspire.Hosting.Azure.AppContainers (1)
AzureContainerAppEnvironmentResource.cs (1)
101var childFactoryContext = new PipelineStepFactoryContext
Aspire.Hosting.Azure.AppService (1)
AzureAppServiceEnvironmentResource.cs (1)
110var childFactoryContext = new PipelineStepFactoryContext
Aspire.Hosting.Azure.EntraId.Tests (2)
EntraIdApiProvisioningTests.cs (2)
883var step = Assert.Single(await annotation.CreateStepsAsync(new PipelineStepFactoryContext { PipelineContext = null!, Resource = resource })); 887a.CreateStepsAsync(new PipelineStepFactoryContext { PipelineContext = null!, Resource = resource }).GetAwaiter().GetResult()
Aspire.Hosting.Azure.Kubernetes (1)
AzureKubernetesEnvironmentExtensions.cs (1)
1031var childFactoryContext = new PipelineStepFactoryContext
Aspire.Hosting.Azure.Kubernetes.Tests (4)
AzureKubernetesInfrastructureTests.cs (4)
1404steps.AddRange(await annotation.CreateStepsAsync(new PipelineStepFactoryContext 1498steps.AddRange(await annotation.CreateStepsAsync(new PipelineStepFactoryContext 1711steps.AddRange(await annotation.CreateStepsAsync(new PipelineStepFactoryContext 1781steps.AddRange(await annotation.CreateStepsAsync(new PipelineStepFactoryContext
Aspire.Hosting.Azure.Sandboxes (1)
AzureSandboxGroupResource.cs (1)
74var childFactoryContext = new PipelineStepFactoryContext
Aspire.Hosting.Azure.Tests (10)
AzureAppServiceTests.cs (1)
1482results.AddRange(await annotation.CreateStepsAsync(new PipelineStepFactoryContext
AzureBicepResourceTests.cs (1)
227var factoryContext = new Aspire.Hosting.Pipelines.PipelineStepFactoryContext
AzureContainerAppExpressEndpointTests.cs (1)
378steps.AddRange(await annotation.CreateStepsAsync(new PipelineStepFactoryContext
AzureContainerAppsTests.cs (1)
3341results.AddRange(await annotation.CreateStepsAsync(new PipelineStepFactoryContext
AzureContainerRegistryTests.cs (3)
146var factoryContext = new PipelineStepFactoryContext 175var factoryContext = new PipelineStepFactoryContext 204var factoryContext = new PipelineStepFactoryContext
AzureEnvironmentResourceExtensionsTests.cs (1)
5523var steps = await annotation.CreateStepsAsync(new PipelineStepFactoryContext
AzureSandboxesTests.cs (2)
2411var steps = (await pipelineAnnotation.CreateStepsAsync(new PipelineStepFactoryContext 3336results.AddRange(await annotation.CreateStepsAsync(new PipelineStepFactoryContext
Aspire.Hosting.Containers.Tests (3)
WithDockerfileTests.cs (3)
800var factoryContext = new PipelineStepFactoryContext 966var factoryContext = new PipelineStepFactoryContext 1011var factoryContext = new PipelineStepFactoryContext
Aspire.Hosting.Docker (1)
DockerComposeEnvironmentResource.cs (1)
97var childFactoryContext = new PipelineStepFactoryContext
Aspire.Hosting.EntityFrameworkCore.Tests (2)
EFMigrationPipelineTests.cs (2)
58steps.AddRange(await annotation.CreateStepsAsync(new PipelineStepFactoryContext 872results.AddRange(await annotation.CreateStepsAsync(new PipelineStepFactoryContext
Aspire.Hosting.Foundry.Tests (6)
PromptAgentTests.cs (1)
695steps.AddRange(await annotation.CreateStepsAsync(new PipelineStepFactoryContext
ToolboxTests.cs (5)
277var ctx = new PipelineStepFactoryContext 307var ctx = new PipelineStepFactoryContext 812var toolboxSteps = (await toolboxStepAnnotation.CreateStepsAsync(new PipelineStepFactoryContext 854var toolboxSteps = (await toolboxStepAnnotation.CreateStepsAsync(new PipelineStepFactoryContext 893var toolboxSteps = (await toolboxStepAnnotation.CreateStepsAsync(new PipelineStepFactoryContext
Aspire.Hosting.Kubernetes (1)
KubernetesEnvironmentResource.cs (1)
345var childFactoryContext = new PipelineStepFactoryContext
Aspire.Hosting.Kubernetes.Tests (2)
KubernetesHelmChartTests.cs (1)
521results.AddRange(await annotation.CreateStepsAsync(new PipelineStepFactoryContext
PipelineStepTestHelpers.cs (1)
28results.AddRange(await annotation.CreateStepsAsync(new PipelineStepFactoryContext
Aspire.Hosting.Radius.Tests (2)
Deployment\ControlPlaneVersionGateTests.cs (1)
375var steps = await annotation.CreateStepsAsync(new PipelineStepFactoryContext
Secrets\SecretStoreValidationTests.cs (1)
125var steps = (await annotation.CreateStepsAsync(new PipelineStepFactoryContext
Aspire.Hosting.Tests (6)
ContainerRegistryResourceTests.cs (4)
368var factoryContext = new PipelineStepFactoryContext 394var factoryContext = new PipelineStepFactoryContext 472var factoryContext = new PipelineStepFactoryContext 496var factoryContext = new PipelineStepFactoryContext
DotnetProgramPublishingTests.cs (1)
223var steps = await annotation.CreateStepsAsync(new PipelineStepFactoryContext
ProjectResourceTests.cs (1)
862var factoryContext = new PipelineStepFactoryContext
36 references to PipelineStepFactoryContext
Aspire.Hosting (11)
Pipelines\DistributedApplicationPipeline.cs (1)
708var factoryContext = new PipelineStepFactoryContext
Pipelines\PipelineStepAnnotation.cs (6)
13private readonly Func<PipelineStepFactoryContext, Task<IEnumerable<PipelineStep>>> _factory; 19public PipelineStepAnnotation(Func<PipelineStepFactoryContext, PipelineStep> factory) 28public PipelineStepAnnotation(Func<PipelineStepFactoryContext, Task<PipelineStep>> factory) 37public PipelineStepAnnotation(Func<PipelineStepFactoryContext, IEnumerable<PipelineStep>> factory) 46public PipelineStepAnnotation(Func<PipelineStepFactoryContext, Task<IEnumerable<PipelineStep>>> factory) 56public Task<IEnumerable<PipelineStep>> CreateStepsAsync(PipelineStepFactoryContext context) => _factory(context);
Pipelines\PipelineStepFactoryExtensions.cs (4)
24Func<PipelineStepFactoryContext, PipelineStep> factory) where T : IResource 43Func<PipelineStepFactoryContext, Task<PipelineStep>> factory) where T : IResource 62Func<PipelineStepFactoryContext, IEnumerable<PipelineStep>> factory) where T : IResource 81Func<PipelineStepFactoryContext, Task<IEnumerable<PipelineStep>>> factory) where T : IResource
Aspire.Hosting.Azure.AppContainers (1)
AzureContainerAppEnvironmentResource.cs (1)
101var childFactoryContext = new PipelineStepFactoryContext
Aspire.Hosting.Azure.AppService (1)
AzureAppServiceEnvironmentResource.cs (1)
110var childFactoryContext = new PipelineStepFactoryContext
Aspire.Hosting.Azure.Kubernetes (1)
AzureKubernetesEnvironmentExtensions.cs (1)
1031var childFactoryContext = new PipelineStepFactoryContext
Aspire.Hosting.Azure.Sandboxes (2)
AzureSandboxCleanupResource.cs (1)
38private IEnumerable<PipelineStep> CreateSteps(PipelineStepFactoryContext context)
AzureSandboxGroupResource.cs (1)
74var childFactoryContext = new PipelineStepFactoryContext
Aspire.Hosting.Azure.Tests (4)
AzureBicepResourceTests.cs (1)
227var factoryContext = new Aspire.Hosting.Pipelines.PipelineStepFactoryContext
AzureContainerRegistryTests.cs (3)
146var factoryContext = new PipelineStepFactoryContext 175var factoryContext = new PipelineStepFactoryContext 204var factoryContext = new PipelineStepFactoryContext
Aspire.Hosting.Containers.Tests (3)
WithDockerfileTests.cs (3)
800var factoryContext = new PipelineStepFactoryContext 966var factoryContext = new PipelineStepFactoryContext 1011var factoryContext = new PipelineStepFactoryContext
Aspire.Hosting.Docker (1)
DockerComposeEnvironmentResource.cs (1)
97var childFactoryContext = new PipelineStepFactoryContext
Aspire.Hosting.EntityFrameworkCore (1)
EFResourceBuilderExtensions.cs (1)
286internal static IEnumerable<PipelineStep> CreateMigrationPipelineStep(PipelineStepFactoryContext context)
Aspire.Hosting.Foundry.Tests (2)
ToolboxTests.cs (2)
277var ctx = new PipelineStepFactoryContext 307var ctx = new PipelineStepFactoryContext
Aspire.Hosting.Kubernetes (3)
Deployment\HelmDeploymentEngine.cs (1)
118PipelineStepFactoryContext factoryContext)
KubernetesEnvironmentResource.cs (2)
220internal Func<KubernetesEnvironmentResource, PipelineStepFactoryContext, Task<IReadOnlyList<PipelineStep>>>? DeploymentEngineStepsFactory { get; set; } 345var childFactoryContext = new PipelineStepFactoryContext
Aspire.Hosting.Tests (6)
ContainerRegistryResourceTests.cs (4)
368var factoryContext = new PipelineStepFactoryContext 394var factoryContext = new PipelineStepFactoryContext 472var factoryContext = new PipelineStepFactoryContext 496var factoryContext = new PipelineStepFactoryContext
Pipelines\CorePipelineApiTests.cs (1)
18[InlineData(typeof(PipelineStepFactoryContext))]
ProjectResourceTests.cs (1)
862var factoryContext = new PipelineStepFactoryContext