Skip to content

BindSightRunnerOptions

public sealed record BindSightRunnerOptions

Namespace: RhoMicro.BindSight.Generators

Inheritance:

Default implementation of IBindSightRunnerOptions.

BindSightRunnerOptions(BindSightRunnerOptions)
Section titled “BindSightRunnerOptions(BindSightRunnerOptions)”
private BindSightRunnerOptions(BindSightRunnerOptions original)
public BindSightRunnerOptions()
public ExitMode ExitMode { get; init; }

Gets the exit mode of the runner. The default is ExitMode.Environment

public bool ExitOnCancellation { get; init; }

Gets a value indicating whether to exit using IBindSightRunnerOptions.ExitMode when cancellation is requested. The default is true.

public bool Run { get; init; }

Gets a value indicating whether to run the runner. This is useful when executing the runner from a hosted service, as it may be toggled on or off using this option. The default is true.

public override string ToString()
public override int GetHashCode()
public override bool Equals(object? obj)
public bool Equals(BindSightRunnerOptions? other)
operator !=(BindSightRunnerOptions, BindSightRunnerOptions)
Section titled “operator !=(BindSightRunnerOptions, BindSightRunnerOptions)”
public static bool operator !=(BindSightRunnerOptions? left, BindSightRunnerOptions? right)
operator ==(BindSightRunnerOptions, BindSightRunnerOptions)
Section titled “operator ==(BindSightRunnerOptions, BindSightRunnerOptions)”
public static bool operator ==(BindSightRunnerOptions? left, BindSightRunnerOptions? right)