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