Class CommandSettingsValidator<TSettings>
- Namespace
- Ploch.CommandLine.Spectre.Commands
- Assembly
- Ploch.CommandLine.Spectre.dll
Validates command settings for Spectre.Console command-line applications.
public class CommandSettingsValidator<TSettings> : ICommandSettingsValidator<TSettings> where TSettings : CommandSettings
Type Parameters
TSettingsThe type of command settings to validate.
- Inheritance
-
CommandSettingsValidator<TSettings>
- Implements
-
ICommandSettingsValidator<TSettings>
- Inherited Members
Methods
- Validate(CommandContext, TSettings)
Validates the provided command settings.