Interface ICommandSettingsValidator<TSettings>
- Namespace
- Ploch.CommandLine.Spectre.Commands
- Assembly
- Ploch.CommandLine.Spectre.dll
Defines a validator for command settings.
public interface ICommandSettingsValidator<in TSettings> where TSettings : CommandSettings
Type Parameters
TSettingsThe type of command settings to validate.
Methods
- Validate(CommandContext, TSettings)
Validates the command settings.