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