You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/System.CommandLine.ApiCompatibility.Tests/ApiCompatibilityApprovalTests.System_CommandLine_api_is_not_changed.approved.txt
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,6 @@ System.CommandLine
5
5
public System.Boolean HasDefaultValue { get; }
6
6
public System.String HelpName { get; set; }
7
7
public System.Type ValueType { get; }
8
-
public System.Void AddValidator(System.Action<System.CommandLine.Parsing.ArgumentResult> validate)
9
8
public System.Collections.Generic.IEnumerable<System.CommandLine.Completions.CompletionItem> GetCompletions(System.CommandLine.Completions.CompletionContext context)
10
9
public System.Object GetDefaultValue()
11
10
public ParseResult Parse(System.String commandLine)
@@ -28,6 +27,7 @@ System.CommandLine
28
27
public Argument<T> AddCompletions(System.String[] completions)
29
28
public Argument<T> AddCompletions(System.Func<System.CommandLine.Completions.CompletionContext,System.Collections.Generic.IEnumerable<System.String>> completionsDelegate)
30
29
public Argument<T> AddCompletions(System.Func<System.CommandLine.Completions.CompletionContext,System.Collections.Generic.IEnumerable<System.CommandLine.Completions.CompletionItem>> completionsDelegate)
30
+
public Argument<T> AddValidator(System.Action<System.CommandLine.Parsing.ArgumentResult> validate)
31
31
public struct ArgumentArity : System.ValueType, System.IEquatable<ArgumentArity>
32
32
public static ArgumentArity ExactlyOne { get; }
33
33
public static ArgumentArity OneOrMore { get; }
@@ -193,7 +193,6 @@ System.CommandLine
193
193
public ArgumentArity Arity { get; set; }
194
194
public System.Boolean IsRequired { get; set; }
195
195
public System.Type ValueType { get; }
196
-
public System.Void AddValidator(System.Action<System.CommandLine.Parsing.OptionResult> validate)
197
196
public System.Collections.Generic.IEnumerable<System.CommandLine.Completions.CompletionItem> GetCompletions(System.CommandLine.Completions.CompletionContext context)
198
197
public System.Boolean HasAliasIgnoringPrefix(System.String alias)
199
198
public ParseResult Parse(System.String commandLine)
@@ -213,6 +212,7 @@ System.CommandLine
213
212
public Option<T> AddCompletions(System.String[] completions)
214
213
public Option<T> AddCompletions(System.Func<System.CommandLine.Completions.CompletionContext,System.Collections.Generic.IEnumerable<System.String>> completionsDelegate)
215
214
public Option<T> AddCompletions(System.Func<System.CommandLine.Completions.CompletionContext,System.Collections.Generic.IEnumerable<System.CommandLine.Completions.CompletionItem>> completionsDelegate)
215
+
public Option<T> AddValidator(System.Action<System.CommandLine.Parsing.OptionResult> validate)
216
216
public static class OptionValidation
217
217
public static Option<System.IO.FileInfo> AcceptExistingOnly(this Option<System.IO.FileInfo> option)
218
218
public static Option<System.IO.DirectoryInfo> AcceptExistingOnly(this Option<System.IO.DirectoryInfo> option)
0 commit comments