11 instantiations of AzurePublishingContext
Aspire.Hosting.Azure (1)
AzureEnvironmentResource.cs (1)
189var publishingContext = new AzurePublishingContext(
Aspire.Hosting.Azure.EntraId.Tests (9)
EntraIdApiProvisioningTests.cs (1)
781var context = new AzurePublishingContext(
EntraIdAppRoleAssignmentTests.cs (1)
248var context = new AzurePublishingContext(
EntraIdProvisioningTests.cs (6)
886var context = new AzurePublishingContext( 909var context = new AzurePublishingContext( 934var context = new AzurePublishingContext( 967var context = new AzurePublishingContext( 998var context = new AzurePublishingContext( 1039var context = new AzurePublishingContext(
EntraIdStarterScenarioPublishTests.cs (1)
60var context = new AzurePublishingContext(
Aspire.Hosting.Azure.Tests (1)
AzureEnvironmentResourceTests.cs (1)
505return new AzurePublishingContext(outputPath, provisioningOptions, app.Services, logger, step);
26 references to AzurePublishingContext
Aspire.Hosting.Azure (1)
AzureEnvironmentResource.cs (1)
189var publishingContext = new AzurePublishingContext(
Aspire.Hosting.Azure.EntraId.Tests (18)
EntraIdApiProvisioningTests.cs (2)
781var context = new AzurePublishingContext( 782workspace.Path, options, app.Services, NullLogger<AzurePublishingContext>.Instance, step);
EntraIdAppRoleAssignmentTests.cs (2)
248var context = new AzurePublishingContext( 250app.Services, NullLogger<AzurePublishingContext>.Instance, step);
EntraIdProvisioningTests.cs (12)
886var context = new AzurePublishingContext( 887workspace.Path, options, app.Services, NullLogger<AzurePublishingContext>.Instance, step); 909var context = new AzurePublishingContext( 913NullLogger<AzurePublishingContext>.Instance, 934var context = new AzurePublishingContext( 938NullLogger<AzurePublishingContext>.Instance, 967var context = new AzurePublishingContext( 971NullLogger<AzurePublishingContext>.Instance, 998var context = new AzurePublishingContext( 1002NullLogger<AzurePublishingContext>.Instance, 1039var context = new AzurePublishingContext( 1040workspace.Path, options, app.Services, NullLogger<AzurePublishingContext>.Instance, step);
EntraIdStarterScenarioPublishTests.cs (2)
60var context = new AzurePublishingContext( 64NullLogger<AzurePublishingContext>.Instance,
Aspire.Hosting.Azure.Tests (7)
AzureEnvironmentResourceTests.cs (7)
380var context = await CreatePublishingContextAsync(app, outputPath); 406var context = await CreatePublishingContextAsync(app, workspace.Path); 434var context = await CreatePublishingContextAsync(app, outputPath); 473var context = await CreatePublishingContextAsync(app, outputPath); 483/// Adds the module shape that motivates <see cref="AzurePublishingContext.ExcludeMainBicepFile"/>: a 499private async Task<AzurePublishingContext> CreatePublishingContextAsync(DistributedApplication app, string outputPath) 502var logger = app.Services.GetRequiredService<ILoggerFactory>().CreateLogger<AzurePublishingContext>();