9 writes to TenantResourceSuffix
Aspire.Hosting.Azure (6)
Provisioning\Internal\BaseProvisioningContextProvider.cs (1)
49
TenantResourceSuffix
= options.Value.TenantResourceSuffix
Provisioning\Internal\PublishModeProvisioningContextProvider.cs (1)
142
_options.
TenantResourceSuffix
= result.Data[TenantResourceSuffixName].Value ?? string.Empty;
Provisioning\Internal\RunModeProvisioningContextProvider.cs (4)
178
_options.
TenantResourceSuffix
= options.TenantResourceSuffix;
241
_options.
TenantResourceSuffix
= _configuredOptions.TenantResourceSuffix;
246
_options.
TenantResourceSuffix
= tenantResourceSuffix;
514
_options.
TenantResourceSuffix
= suffixInput.Value ?? string.Empty;
Aspire.Hosting.Azure.Tests (3)
ProvisioningContextProviderTests.cs (3)
67
options.Value.
TenantResourceSuffix
= configuredSuffix;
133
options.Value.
TenantResourceSuffix
= configuredSuffix;
187
options.Value.
TenantResourceSuffix
= "configured";
11 references to TenantResourceSuffix
Aspire.Hosting.Azure (8)
Provisioning\BicepUtilities.cs (1)
63
parameterValue = executionContext.Services.GetRequiredService<IOptions<AzureProvisionerOptions>>().Value.
TenantResourceSuffix
?? string.Empty;
Provisioning\Internal\BaseProvisioningContextProvider.cs (2)
49
TenantResourceSuffix = options.Value.
TenantResourceSuffix
229
if (_options.
TenantResourceSuffix
is { } tenantResourceSuffix)
Provisioning\Internal\PublishModeProvisioningContextProvider.cs (1)
113
if (_options.
TenantResourceSuffix
is null &&
Provisioning\Internal\RunModeProvisioningContextProvider.cs (4)
195
_options.
TenantResourceSuffix
);
214
_options.
TenantResourceSuffix
);
241
_options.TenantResourceSuffix = _configuredOptions.
TenantResourceSuffix
;
495
Value = _options.
TenantResourceSuffix
Aspire.Hosting.Azure.Tests (3)
ProvisioningContextProviderTests.cs (3)
49
Assert.Equal(selectedSuffix ?? string.Empty, options.Value.
TenantResourceSuffix
);
83
Assert.Equal(configuredSuffix, options.Value.
TenantResourceSuffix
);
103
Assert.Null(options.Value.
TenantResourceSuffix
);