10 references to Location
Aspire.Hosting.Azure (2)
Provisioning\Provisioners\BicepProvisioner.cs (2)
126new("azure.location", context.Location.ToString()), 323resource.Parameters[AzureBicepResource.KnownParameters.Location] = context.Location.Name;
Aspire.Hosting.Azure.Tests (8)
ProvisioningContextProviderTests.cs (5)
52Assert.NotNull(context.Location.DisplayName); 55Assert.Equal("westus2", context.Location.Name); 316Assert.Equal("westus", context.Location.Name); 402Assert.NotNull(context.Location.DisplayName); 405Assert.Equal("westus2", context.Location.Name);
ProvisioningContextTests.cs (3)
27Assert.NotNull(context.Location.Name); 73Assert.Equal("westus2", context.Location.Name); 74Assert.Equal("westus2", context.Location.ToString());