1 instantiation of AzureContextState
Aspire.Hosting.Azure (1)
AzureProvisioningController.cs (1)
3496
return new
AzureContextState
(
17 references to AzureContextState
Aspire.Hosting.Azure (17)
AzureProvisioningController.cs (17)
409
var
currentContext = await controller.GetCurrentAzureContextAsync(context.CancellationToken).ConfigureAwait(false);
437
var
currentContext = await controller.GetCurrentAzureContextAsync(context.CancellationToken).ConfigureAwait(false);
470
var
currentContext = await controller.GetCurrentAzureContextAsync(context.CancellationToken).ConfigureAwait(false);
499
var
currentContext = await controller.GetCurrentAzureContextAsync(context.CancellationToken).ConfigureAwait(false);
1804
var
currentContext = await GetCurrentAzureContextAsync(cancellationToken).ConfigureAwait(false);
1916
var
azureContext = await GetCurrentAzureContextAsync(cancellationToken).ConfigureAwait(false);
2037
var
currentContext = await GetCurrentAzureContextAsync(cancellationToken).ConfigureAwait(false);
2218
var
currentContext = await GetCurrentAzureContextAsync(cancellationToken).ConfigureAwait(false);
2262
var
context = await GetCurrentAzureContextAsync(cancellationToken).ConfigureAwait(false);
2610
var
context = await GetCurrentAzureContextAsync(cancellationToken).ConfigureAwait(false);
2625
private async Task<JsonObject> CreateCachedDeploymentStateInfoAsync(AzureBicepResource resource,
AzureContextState
context, CancellationToken cancellationToken)
2668
private async Task<JsonObject> CreateLiveResourceInfoAsync(string? resourceId,
AzureContextState
context, CancellationToken cancellationToken)
2789
var
context = await GetCurrentAzureContextAsync(cancellationToken).ConfigureAwait(false);
3490
private async Task<
AzureContextState
> GetCurrentAzureContextAsync(CancellationToken cancellationToken)
3560
var
context = await GetCurrentAzureContextAsync(cancellationToken).ConfigureAwait(false);
3674
var
context = await GetCurrentAzureContextAsync(cancellationToken).ConfigureAwait(false);
4325
private static ImmutableArray<ResourcePropertySnapshot> BuildAzureEnvironmentProperties(
AzureContextState
context)