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
* rename `FindResultFor` to `GetResult`
This addresses feedback from API review: dotnet/runtime#84177 (comment)
* change type of `UnmatchedTokens`
* rename `Token` and `TokenType` to `CliToken` and `CliTokenType`
* API baseline updates
Copy file name to clipboardExpand all lines: src/System.CommandLine.ApiCompatibility.Tests/ApiCompatibilityApprovalTests.System_CommandLine_api_is_not_changed.approved.txt
+31-31Lines changed: 31 additions & 31 deletions
Original file line number
Diff line number
Diff line change
@@ -136,15 +136,15 @@ System.CommandLine
136
136
public CliConfiguration Configuration { get; }
137
137
public System.Collections.Generic.IReadOnlyList<System.CommandLine.Parsing.ParseError> Errors { get; }
138
138
public System.CommandLine.Parsing.CommandResult RootCommandResult { get; }
139
-
public System.Collections.Generic.IReadOnlyList<System.CommandLine.Parsing.Token> Tokens { get; }
140
-
public System.String[] UnmatchedTokens { get; }
141
-
public System.CommandLine.Parsing.ArgumentResult FindResultFor(CliArgument argument)
142
-
public System.CommandLine.Parsing.CommandResult FindResultFor(CliCommand command)
143
-
public System.CommandLine.Parsing.OptionResult FindResultFor(CliOption option)
144
-
public System.CommandLine.Parsing.DirectiveResult FindResultFor(CliDirective directive)
145
-
public System.CommandLine.Parsing.SymbolResult FindResultFor(CliSymbol symbol)
139
+
public System.Collections.Generic.IReadOnlyList<System.CommandLine.Parsing.CliToken> Tokens { get; }
140
+
public System.Collections.Generic.IReadOnlyList<System.String> UnmatchedTokens { get; }
146
141
public System.CommandLine.Completions.CompletionContext GetCompletionContext()
147
142
public System.Collections.Generic.IEnumerable<System.CommandLine.Completions.CompletionItem> GetCompletions(System.Nullable<System.Int32> position = null)
143
+
public System.CommandLine.Parsing.ArgumentResult GetResult(CliArgument argument)
144
+
public System.CommandLine.Parsing.CommandResult GetResult(CliCommand command)
145
+
public System.CommandLine.Parsing.OptionResult GetResult(CliOption option)
146
+
public System.CommandLine.Parsing.DirectiveResult GetResult(CliDirective directive)
147
+
public System.CommandLine.Parsing.SymbolResult GetResult(CliSymbol symbol)
0 commit comments