Skip to content

Commit 78e9a09

Browse files
Made ctor internal
1 parent 20fc56f commit 78e9a09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/System.CommandLine.Subsystems/Validation/Validator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ namespace System.CommandLine.Validation;
1111
// TODO: Discuss visibility and custom validators
1212
public abstract class Validator
1313
{
14-
public Validator(string name, Type valueConditionType, params Type[] moreValueConditionTypes)
14+
internal Validator(string name, Type valueConditionType, params Type[] moreValueConditionTypes)
1515
{
1616
Name = name;
1717
ValueConditionTypes = [valueConditionType, .. moreValueConditionTypes];

0 commit comments

Comments
 (0)