mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-06-20 05:48:14 +08:00
Fix typo in PairDeconstructor class name
PairDeconstuctor → PairDeconstructor (was missing an 'r') Keeping `PairDeconstuctor` and marking it as obsolete since it's a public type.
This commit is contained in:

committed by
Patrik Svensson

parent
48df9cf68b
commit
19eb273813
@ -28,7 +28,7 @@ namespace Spectre.Console.Cli
|
||||
Type parameterType, ParameterKind parameterKind, PropertyInfo property,
|
||||
string? description, TypeConverterAttribute? converter,
|
||||
DefaultValueAttribute? defaultValue,
|
||||
PairDeconstructorAttribute? deconstuctor,
|
||||
PairDeconstructorAttribute? deconstructor,
|
||||
ParameterValueProviderAttribute? valueProvider,
|
||||
IEnumerable<ParameterValidationAttribute> validators, bool required)
|
||||
{
|
||||
@ -39,7 +39,7 @@ namespace Spectre.Console.Cli
|
||||
Description = description;
|
||||
Converter = converter;
|
||||
DefaultValue = defaultValue;
|
||||
PairDeconstructor = deconstuctor;
|
||||
PairDeconstructor = deconstructor;
|
||||
ValueProvider = valueProvider;
|
||||
Validators = new List<ParameterValidationAttribute>(validators ?? Array.Empty<ParameterValidationAttribute>());
|
||||
Required = required;
|
||||
|
Reference in New Issue
Block a user