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
+7-5
Original file line number
Diff line number
Diff line change
@@ -9,17 +9,16 @@ System.CommandLine
9
9
public System.Object GetDefaultValue()
10
10
public ParseResult Parse(System.String commandLine)
11
11
public ParseResult Parse(System.String[] args)
12
-
public System.Void SetDefaultValue(System.Object value)
13
-
public System.Void SetDefaultValueFactory(System.Func<System.Object> defaultValueFactory)
14
-
public System.Void SetDefaultValueFactory(System.Func<System.CommandLine.Parsing.ArgumentResult,System.Object> defaultValueFactory)
15
12
public System.String ToString()
16
13
public class Argument<T> : Argument, IValueDescriptor<T>, System.CommandLine.Binding.IValueDescriptor
public Argument<T> AddCompletions(System.Func<System.CommandLine.Completions.CompletionContext,System.Collections.Generic.IEnumerable<System.String>> completionsDelegate)
29
28
public Argument<T> AddCompletions(System.Func<System.CommandLine.Completions.CompletionContext,System.Collections.Generic.IEnumerable<System.CommandLine.Completions.CompletionItem>> completionsDelegate)
30
29
public Argument<T> AddValidator(System.Action<System.CommandLine.Parsing.ArgumentResult> validate)
30
+
public System.Void SetDefaultValue(T value)
31
+
public System.Void SetDefaultValueFactory(Func<T> defaultValueFactory)
32
+
public System.Void SetDefaultValueFactory(Func<System.CommandLine.Parsing.ArgumentResult,T> defaultValueFactory)
31
33
public struct ArgumentArity : System.ValueType, System.IEquatable<ArgumentArity>
32
34
public static ArgumentArity ExactlyOne { get; }
33
35
public static ArgumentArity OneOrMore { get; }
@@ -197,8 +199,6 @@ System.CommandLine
197
199
public System.Boolean HasAliasIgnoringPrefix(System.String alias)
198
200
public ParseResult Parse(System.String commandLine)
199
201
public ParseResult Parse(System.String[] args)
200
-
public System.Void SetDefaultValue(System.Object value)
201
-
public System.Void SetDefaultValueFactory(System.Func<System.Object> defaultValueFactory)
202
202
public class Option<T> : Option, IValueDescriptor<T>, System.CommandLine.Binding.IValueDescriptor
public Option<T> AddCompletions(System.Func<System.CommandLine.Completions.CompletionContext,System.Collections.Generic.IEnumerable<System.String>> completionsDelegate)
214
214
public Option<T> AddCompletions(System.Func<System.CommandLine.Completions.CompletionContext,System.Collections.Generic.IEnumerable<System.CommandLine.Completions.CompletionItem>> completionsDelegate)
215
215
public Option<T> AddValidator(System.Action<System.CommandLine.Parsing.OptionResult> validate)
216
+
public System.Void SetDefaultValue(T value)
217
+
public System.Void SetDefaultValueFactory(Func<T> defaultValueFactory)
216
218
public static class OptionValidation
217
219
public static Option<System.IO.FileInfo> AcceptExistingOnly(this Option<System.IO.FileInfo> option)
218
220
public static Option<System.IO.DirectoryInfo> AcceptExistingOnly(this Option<System.IO.DirectoryInfo> option)
0 commit comments