Constructor CommandLineFluentValidationServicesBundle
- Namespace
- Ploch.CommandLine.Spectre.FluentValidation
- Assembly
- Ploch.CommandLine.Spectre.FluentValidation.dll
CommandLineFluentValidationServicesBundle(params IEnumerable<Assembly>)
A services bundle that configures FluentValidation for command line settings validation. Registers validators from specified assemblies and configures the FluentCommandSettingsValidator.
public CommandLineFluentValidationServicesBundle(params IEnumerable<Assembly> validatorAssemblies)
Parameters
validatorAssembliesIEnumerable<Assembly>A collection of assemblies containing FluentValidation validators to be registered.