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