Skip to content

IBindSightRunnerOptions

public abstract interface IBindSightRunnerOptions

Namespace: RhoMicro.BindSight.Generators

Inheritance:

Provides options for the BindSightGeneratorRunner.

ExitMode ExitMode { get; }

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

bool ExitOnCancellation { get; }

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

bool Run { get; }

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.

IBindSightRunnerOptions Default { get; }

Gets the default instance for this options interface.