2 implementations of ITenantResource
Aspire.Hosting.Azure (1)
Provisioning\Internal\DefaultArmClientProvider.cs (1)
78private sealed class DefaultTenantResource(TenantResource tenantResource) : ITenantResource
Aspire.Hosting.Azure.Tests (1)
ProvisioningTestHelpers.cs (1)
414internal sealed class TestTenantResource : ITenantResource
9 references to ITenantResource
Aspire.Hosting.Azure (5)
Provisioning\Internal\DefaultArmClientProvider.cs (2)
29public async Task<(ISubscriptionResource subscription, ITenantResource tenant)> GetSubscriptionAndTenantAsync(CancellationToken cancellationToken = default) 34ITenantResource? tenantResource = null;
Provisioning\Internal\IProvisioningServices.cs (1)
87Task<(ISubscriptionResource subscription, ITenantResource tenant)> GetSubscriptionAndTenantAsync(CancellationToken cancellationToken = default);
Provisioning\ProvisioningContext.cs (2)
17ITenantResource tenant, 26public ITenantResource Tenant => tenant;
Aspire.Hosting.Azure.Tests (4)
ProvisioningTestHelpers.cs (4)
41ITenantResource? tenant = null, 198public Task<(ISubscriptionResource subscription, ITenantResource tenant)> GetSubscriptionAndTenantAsync(CancellationToken cancellationToken = default) 210return Task.FromResult<(ISubscriptionResource, ITenantResource)>((subscription, tenant)); 412/// Test implementation of <see cref="ITenantResource"/>.