15 references to TenantScopedResourceAnnotation
Aspire.Hosting.Azure.EntraId (1)
EntraIdApplicationResource.cs (1)
51Annotations.Add(new TenantScopedResourceAnnotation(new Dictionary<string, string>
Aspire.Hosting.Azure.Tests (14)
AzureEnvironmentResourceExtensionsTests.cs (10)
34var annotation = new TenantScopedResourceAnnotation(outputs); 38Assert.Throws<ArgumentNullException>(() => new TenantScopedResourceAnnotation(null!)); 39Assert.Throws<ArgumentException>(() => new TenantScopedResourceAnnotation( 41Assert.Throws<ArgumentException>(() => new TenantScopedResourceAnnotation( 60.WithAnnotation(new TenantScopedResourceAnnotation(new Dictionary<string, string> 66.WithAnnotation(new TenantScopedResourceAnnotation(new Dictionary<string, string> 150directory.WithAnnotation(new TenantScopedResourceAnnotation(new Dictionary<string, string> 227directory.WithAnnotation(new TenantScopedResourceAnnotation(new Dictionary<string, string>())); 258registration.WithAnnotation(new TenantScopedResourceAnnotation(new Dictionary<string, string>())); 296.WithAnnotation(new TenantScopedResourceAnnotation(new Dictionary<string, string>()));
ProvisioningContextProviderTests.cs (4)
32resource.Annotations.Add(new TenantScopedResourceAnnotation(new Dictionary<string, string>())); 71resource.Annotations.Add(new TenantScopedResourceAnnotation(new Dictionary<string, string>())); 93resource.Annotations.Add(new TenantScopedResourceAnnotation(new Dictionary<string, string>())); 138resource.Annotations.Add(new TenantScopedResourceAnnotation(new Dictionary<string, string>()));