18 references to DcpOptions
Aspire.Hosting (18)
Dashboard\DashboardOptions.cs (1)
21
internal class ConfigureDefaultDashboardOptions(IConfiguration configuration, IOptions<
DcpOptions
> dcpOptions) : IConfigureOptions<DashboardOptions>
Dcp\ApplicationExecutor.cs (2)
76
IOptions<
DcpOptions
> options,
102
private readonly IOptions<
DcpOptions
> _options = options;
Dcp\DcpDependencyCheck.cs (3)
20
private readonly
DcpOptions
_dcpOptions;
25
public DcpDependencyCheck(IOptions<
DcpOptions
> dcpOptions)
175
internal static void CheckDcpInfoAndLogErrors(ILogger logger,
DcpOptions
options, DcpInfo dcpInfo)
Dcp\DcpHostService.cs (2)
25
private readonly
DcpOptions
_dcpOptions;
44
IOptions<
DcpOptions
> dcpOptions,
Dcp\DcpNameGenerator.cs (3)
20
private readonly IOptions<
DcpOptions
> _options;
22
public DcpNameGenerator(IConfiguration configuration, IOptions<
DcpOptions
> options)
88
private static string GetObjectNameForResource(IResource resource,
DcpOptions
options, string suffix = "")
Dcp\DcpOptions.cs (4)
80
internal class ValidateDcpOptions : IValidateOptions<
DcpOptions
>
82
public ValidateOptionsResult Validate(string? name,
DcpOptions
options)
102
IConfiguration configuration) : IConfigureOptions<
DcpOptions
>
111
public void Configure(
DcpOptions
options)
Dcp\KubernetesService.cs (1)
55
internal sealed class KubernetesService(ILogger<KubernetesService> logger, IOptions<
DcpOptions
> dcpOptions, Locations locations) : IKubernetesService, IDisposable
DistributedApplicationBuilder.cs (2)
281
_innerBuilder.Services.TryAddEnumerable(ServiceDescriptor.Singleton<IConfigureOptions<
DcpOptions
>, ConfigureDefaultDcpOptions>());
282
_innerBuilder.Services.TryAddEnumerable(ServiceDescriptor.Singleton<IValidateOptions<
DcpOptions
>, ValidateDcpOptions>());