18 references to DcpOptions
Aspire.Hosting (18)
Dashboard\DashboardOptions.cs (1)
21internal class ConfigureDefaultDashboardOptions(IConfiguration configuration, IOptions<DcpOptions> dcpOptions) : IConfigureOptions<DashboardOptions>
Dcp\ApplicationExecutor.cs (2)
76IOptions<DcpOptions> options, 102private readonly IOptions<DcpOptions> _options = options;
Dcp\DcpDependencyCheck.cs (3)
20private readonly DcpOptions _dcpOptions; 25public DcpDependencyCheck(IOptions<DcpOptions> dcpOptions) 175internal static void CheckDcpInfoAndLogErrors(ILogger logger, DcpOptions options, DcpInfo dcpInfo)
Dcp\DcpHostService.cs (2)
25private readonly DcpOptions _dcpOptions; 44IOptions<DcpOptions> dcpOptions,
Dcp\DcpNameGenerator.cs (3)
20private readonly IOptions<DcpOptions> _options; 22public DcpNameGenerator(IConfiguration configuration, IOptions<DcpOptions> options) 88private static string GetObjectNameForResource(IResource resource, DcpOptions options, string suffix = "")
Dcp\DcpOptions.cs (4)
80internal class ValidateDcpOptions : IValidateOptions<DcpOptions> 82public ValidateOptionsResult Validate(string? name, DcpOptions options) 102IConfiguration configuration) : IConfigureOptions<DcpOptions> 111public void Configure(DcpOptions options)
Dcp\KubernetesService.cs (1)
55internal 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>());