14 instantiations of NativeRuntimeOptions
Aspire.Hosting.Native.Core (2)
Runtime\RuntimeGeneration.cs (2)
25public RuntimeGeneration(ApplicationSnapshot declarations) : this(declarations, UnavailableWorkloadExecutor.Instance, new()) 29public RuntimeGeneration(ApplicationSnapshot declarations, IWorkloadExecutor executor) : this(declarations, executor, new())
Aspire.Hosting.Native.Core.Tests (9)
DeclarativeApplicationTests.cs (1)
305var options = new NativeRuntimeOptions
NativeTimeProviderTests.cs (6)
76new NativeRuntimeOptions { TimeProvider = clock }); 101var invitations = new RuntimeInvitations(UnavailableWorkloadExecutor.Instance, new NativeRuntimeOptions { TimeProvider = clock }); 126new NativeRuntimeOptions { TimeProvider = clock, WorkloadStartupTimeout = TimeSpan.FromSeconds(2) }); 164new NativeRuntimeOptions { TimeProvider = clock, WorkloadStartupTimeout = TimeSpan.FromSeconds(2) }); 204new NativeRuntimeOptions { TimeProvider = clock, WorkloadStartupTimeout = TimeSpan.FromSeconds(2) }); 230new NativeRuntimeOptions { TimeProvider = clock, ObservationInterval = TimeSpan.FromSeconds(1) });
RuntimeRpcTests.cs (1)
17new NativeRuntimeOptions { RetainedResourceLogEntries = 2, MaximumPendingRequestsPerResource = 1 });
TestServices\RuntimeRpcTestContext.cs (1)
30public RuntimeRpcTestContext(IWorkloadExecutor executor) : this(executor, new())
Aspire.Hosting.Native.Server (3)
Api\RuntimeApi.cs (2)
22public NativeApplicationServer(IWorkloadExecutor executor) : this(executor, new()) 429public RuntimeInvitations(IWorkloadExecutor executor) : this(executor, new())
NativeServerOptions.cs (1)
16public NativeRuntimeOptions Runtime { get; set; } = new();
11 references to NativeRuntimeOptions
Aspire.Hosting.Native.Core (4)
Runtime\ResourceWorkload.cs (3)
110NativeRuntimeOptions options, 122NativeRuntimeOptions options, Func<CancellationToken, Task> waitForDependencies, 130NativeRuntimeOptions options, Func<CancellationToken, Task> waitForDependencies,
Runtime\RuntimeGeneration.cs (1)
11internal sealed partial class RuntimeGeneration(ApplicationSnapshot declarations, IWorkloadExecutor executor, NativeRuntimeOptions options) : IDisposable
Aspire.Hosting.Native.Core.Tests (2)
DeclarativeApplicationTests.cs (1)
305var options = new NativeRuntimeOptions
TestServices\RuntimeRpcTestContext.cs (1)
34public RuntimeRpcTestContext(IWorkloadExecutor executor, NativeRuntimeOptions options)
Aspire.Hosting.Native.Server (5)
Api\RuntimeApi.cs (3)
26public NativeApplicationServer(IWorkloadExecutor executor, NativeRuntimeOptions options) 423public NativeRuntimeOptions Options { get; } 433public RuntimeInvitations(IWorkloadExecutor executor, NativeRuntimeOptions options)
Dashboard\NativeDashboardService.cs (1)
14internal sealed class NativeDashboardService(NativeApplicationServer server, string applicationName, NativeRuntimeOptions options)
NativeServerOptions.cs (1)
16public NativeRuntimeOptions Runtime { get; set; } = new();