2 implementations of ITenantResource
Aspire.Hosting.Azure (1)
Provisioning\Internal\DefaultArmClientProvider.cs (1)
47private sealed class DefaultTenantResource(TenantResource tenantResource) : ITenantResource
Aspire.Hosting.Azure.Tests (1)
ProvisioningTestHelpers.cs (1)
194internal sealed class TestTenantResource : ITenantResource
9 references to ITenantResource
Aspire.Hosting.Azure (5)
Provisioning\Internal\DefaultArmClientProvider.cs (2)
23public async Task<(ISubscriptionResource subscription, ITenantResource tenant)> GetSubscriptionAndTenantAsync(CancellationToken cancellationToken = default) 28ITenantResource? tenantResource = null;
Provisioning\Internal\IProvisioningServices.cs (1)
82Task<(ISubscriptionResource subscription, ITenantResource tenant)> GetSubscriptionAndTenantAsync(CancellationToken cancellationToken = default);
Provisioning\ProvisioningContext.cs (2)
17ITenantResource tenant, 25public ITenantResource Tenant => tenant;
Aspire.Hosting.Azure.Tests (4)
ProvisioningTestHelpers.cs (4)
32ITenantResource? tenant = null, 113public Task<(ISubscriptionResource subscription, ITenantResource tenant)> GetSubscriptionAndTenantAsync(CancellationToken cancellationToken = default) 117return Task.FromResult<(ISubscriptionResource, ITenantResource)>((subscription, tenant)); 192/// Test implementation of <see cref="ITenantResource"/>.