Skip to content

InputOptions

Opt-in input adaptation and validation for advanced integration and CLI migration.

public sealed class InputOptions

Gets parsed invocation hooks, invoked in registration order before final validation.

public IList<Delegate> InvocationHooks { get; }

IList<Delegate>

Gets adapters, invoked once each in registration order for every analysis.

public IList<Func<ArgumentPreprocessingContext, CancellationToken, ValueTask<ArgumentPreprocessingResult>>> Preprocessors { get; }

IList<Func<ArgumentPreprocessingContext, CancellationToken, ValueTask<ArgumentPreprocessingResult>>>

Gets validators with injectable ParsedInputContext, services and CancellationToken parameters.

public IList<Delegate> Validators { get; }

IList<Delegate>