BindSightRunnerOptions
public sealed record BindSightRunnerOptions
Namespace: RhoMicro.BindSight.Generators
Inheritance:
Summary
Section titled “Summary”Default implementation of IBindSightRunnerOptions.
Constructors
Section titled “Constructors”BindSightRunnerOptions(BindSightRunnerOptions)
Section titled “BindSightRunnerOptions(BindSightRunnerOptions)”private BindSightRunnerOptions(BindSightRunnerOptions original)
BindSightRunnerOptions()
Section titled “BindSightRunnerOptions()”public BindSightRunnerOptions()
Properties
Section titled “Properties”ExitMode
Section titled “ExitMode”public ExitMode ExitMode { get; init; }
Summary
Section titled “Summary”Gets the exit mode of the runner. The default is ExitMode.Environment
ExitOnCancellation
Section titled “ExitOnCancellation”public bool ExitOnCancellation { get; init; }
Summary
Section titled “Summary”Gets a value indicating whether to exit using IBindSightRunnerOptions.ExitMode when cancellation is requested. The default is true
.
public bool Run { get; init; }
Summary
Section titled “Summary”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
.
Methods
Section titled “Methods”ToString()
Section titled “ToString()”public override string ToString()
GetHashCode()
Section titled “GetHashCode()”public override int GetHashCode()
Equals(object)
Section titled “Equals(object)”public override bool Equals(object? obj)
Equals(BindSightRunnerOptions)
Section titled “Equals(BindSightRunnerOptions)”public bool Equals(BindSightRunnerOptions? other)
Operators
Section titled “Operators”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)