2 types derived from BaseProvisioningContextProvider
Aspire.Hosting.Azure (2)
Provisioning\Internal\PublishModeProvisioningContextProvider.cs (1)
29
DistributedApplicationExecutionContext distributedApplicationExecutionContext) :
BaseProvisioningContextProvider
(
Provisioning\Internal\RunModeProvisioningContextProvider.cs (1)
29
DistributedApplicationExecutionContext distributedApplicationExecutionContext) :
BaseProvisioningContextProvider
(
9 references to BaseProvisioningContextProvider
Aspire.Hosting.Azure.Tests (9)
ProvisioningContextProviderTests.cs (9)
280
Assert.Equal(
BaseProvisioningContextProvider
.LocationName, input.Name);
287
Assert.Equal(
BaseProvisioningContextProvider
.SubscriptionIdName, input.Name);
294
Assert.Equal(
BaseProvisioningContextProvider
.ResourceGroupName, input.Name);
300
inputsInteraction.Inputs[
BaseProvisioningContextProvider
.LocationName].Value = inputsInteraction.Inputs[0].Options!.First(kvp => kvp.Key == "westus").Value;
301
inputsInteraction.Inputs[
BaseProvisioningContextProvider
.SubscriptionIdName].Value = "12345678-1234-1234-1234-123456789012";
302
inputsInteraction.Inputs[
BaseProvisioningContextProvider
.ResourceGroupName].Value = "rg-myrg";
349
inputsInteraction.Inputs[
BaseProvisioningContextProvider
.LocationName].Value = inputsInteraction.Inputs[0].Options!.First(kvp => kvp.Key == "westus").Value;
350
inputsInteraction.Inputs[
BaseProvisioningContextProvider
.SubscriptionIdName].Value = "not a guid";
351
inputsInteraction.Inputs[
BaseProvisioningContextProvider
.ResourceGroupName].Value = "invalid group";