File tree Expand file tree Collapse file tree 4 files changed +5
-6
lines changed Expand file tree Collapse file tree 4 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 11// Copyright (c) .NET Foundation and contributors. All rights reserved.
22// Licensed under the MIT license. See LICENSE file in the project root for full license information.
33
4- using System . Collections . Generic ;
54using System . CommandLine . Binding ;
65using System . CommandLine . Parsing ;
76
@@ -10,7 +9,7 @@ namespace System.CommandLine
109 /// <summary>
1110 /// A symbol defining a value that can be passed on the command line to a <see cref="CliCommand">command</see> or <see cref="CliOption">option</see>.
1211 /// </summary>
13- public abstract class CliArgument : CliDataSymbol
12+ public abstract class CliArgument : CliValueSymbol
1413 {
1514 private ArgumentArity _arity ;
1615 // TODO: custom parser, completion, validators
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ namespace System.CommandLine
1010 /// <summary>
1111 /// A symbol defining a named parameter and a value for that parameter.
1212 /// </summary>
13- public abstract class CliOption : CliDataSymbol
13+ public abstract class CliOption : CliValueSymbol
1414 {
1515 internal AliasSet ? _aliases ;
1616 /*
Original file line number Diff line number Diff line change 33
44namespace System . CommandLine ;
55
6- public abstract class CliDataSymbol : CliSymbol
6+ public abstract class CliValueSymbol : CliSymbol
77{
8- protected CliDataSymbol ( string name , bool allowWhitespace = false )
8+ protected CliValueSymbol ( string name , bool allowWhitespace = false )
99 : base ( name , allowWhitespace )
1010 { }
1111
Original file line number Diff line number Diff line change 2727 <Compile Include =" AliasSet.cs" />
2828 <Compile Include =" ArgumentArity.cs" />
2929 <Compile Include =" Binding\ArgumentConversionResult.cs" />
30- <Compile Include =" CliDataSymbol .cs" />
30+ <Compile Include =" CliValueSymbol .cs" />
3131 <Compile Include =" Parsing\CommandValueResult.cs" />
3232 <Compile Include =" Parsing\SymbolLookupByName.cs" />
3333 <Compile Include =" Parsing\ValueResultOutcome.cs" />
You can’t perform that action at this time.
0 commit comments