9 references to CodespacesOptions
Aspire.Hosting (9)
Dashboard\DashboardLifecycleHook.cs (1)
36
IOptions<
CodespacesOptions
> codespacesOptions,
Devcontainers\Codespaces\CodespacesOptions.cs (2)
42
internal class ConfigureCodespacesOptions(IConfiguration configuration) : IConfigureOptions<
CodespacesOptions
>
54
public void Configure(
CodespacesOptions
options)
Devcontainers\Codespaces\CodespacesResourceUrlRewriterService.cs (1)
12
internal sealed class CodespacesResourceUrlRewriterService(ILogger<CodespacesResourceUrlRewriterService> logger, IOptions<
CodespacesOptions
> options, CodespacesUrlRewriter codespaceUrlRewriter, ResourceNotificationService resourceNotificationService) : BackgroundService
Devcontainers\Codespaces\CodespacesUrlRewriter.cs (1)
8
internal sealed class CodespacesUrlRewriter(IOptions<
CodespacesOptions
> options)
Devcontainers\DevcontainerPortForwardingLifecycleHook.cs (2)
15
private readonly IOptions<
CodespacesOptions
> _codespacesOptions;
19
public DevcontainerPortForwardingLifecycleHook(ILoggerFactory loggerFactory, IOptions<
CodespacesOptions
> codespacesOptions, IOptions<DevcontainersOptions> devcontainersOptions, DevcontainerSettingsWriter settingsWriter)
Devcontainers\DevcontainerSettingsWriter.cs (1)
12
internal class DevcontainerSettingsWriter(ILogger<DevcontainerSettingsWriter> logger, IOptions<
CodespacesOptions
> codespaceOptions, IOptions<DevcontainersOptions> devcontainerOptions)
DistributedApplicationBuilder.cs (1)
293
_innerBuilder.Services.TryAddEnumerable(ServiceDescriptor.Singleton<IConfigureOptions<
CodespacesOptions
>, ConfigureCodespacesOptions>());