Skip to content

ReplRunOptions

Runtime execution options for a single REPL run.

public sealed record ReplRunOptions : IEquatable<ReplRunOptions>
  • IEquatable<ReplRunOptions>

Gets or sets the ANSI support mode for the session.

public AnsiMode AnsiSupport { get; init; }

AnsiMode

Gets or sets the hosted-service lifecycle behavior.

public HostedServiceLifecycleMode HostedServiceLifecycle { get; init; }

HostedServiceLifecycleMode

Gets how standalone runs handle process termination signals. null uses the active application profile’s default.

public ProcessSignalHandlingMode? ProcessSignalHandling { get; init; }

ProcessSignalHandlingMode?

Gets how this run manages the session’s dependency-injection scope. null resolves to PerRun.

public SessionScopeBehavior? SessionScope { get; init; }

SessionScopeBehavior?

Gets or sets optional explicit terminal metadata overrides.

public TerminalSessionOverrides? TerminalOverrides { get; init; }

TerminalSessionOverrides