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 1
1
// Copyright (c) .NET Foundation and contributors. All rights reserved.
2
2
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
3
3
4
- using System . Collections . Generic ;
5
4
using System . CommandLine . Binding ;
6
5
using System . CommandLine . Parsing ;
7
6
@@ -10,7 +9,7 @@ namespace System.CommandLine
10
9
/// <summary>
11
10
/// 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>.
12
11
/// </summary>
13
- public abstract class CliArgument : CliDataSymbol
12
+ public abstract class CliArgument : CliValueSymbol
14
13
{
15
14
private ArgumentArity _arity ;
16
15
// TODO: custom parser, completion, validators
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ namespace System.CommandLine
10
10
/// <summary>
11
11
/// A symbol defining a named parameter and a value for that parameter.
12
12
/// </summary>
13
- public abstract class CliOption : CliDataSymbol
13
+ public abstract class CliOption : CliValueSymbol
14
14
{
15
15
internal AliasSet ? _aliases ;
16
16
/*
Original file line number Diff line number Diff line change 3
3
4
4
namespace System . CommandLine ;
5
5
6
- public abstract class CliDataSymbol : CliSymbol
6
+ public abstract class CliValueSymbol : CliSymbol
7
7
{
8
- protected CliDataSymbol ( string name , bool allowWhitespace = false )
8
+ protected CliValueSymbol ( string name , bool allowWhitespace = false )
9
9
: base ( name , allowWhitespace )
10
10
{ }
11
11
Original file line number Diff line number Diff line change 27
27
<Compile Include =" AliasSet.cs" />
28
28
<Compile Include =" ArgumentArity.cs" />
29
29
<Compile Include =" Binding\ArgumentConversionResult.cs" />
30
- <Compile Include =" CliDataSymbol .cs" />
30
+ <Compile Include =" CliValueSymbol .cs" />
31
31
<Compile Include =" Parsing\CommandValueResult.cs" />
32
32
<Compile Include =" Parsing\SymbolLookupByName.cs" />
33
33
<Compile Include =" Parsing\ValueResultOutcome.cs" />
You can’t perform that action at this time.
0 commit comments