Skip to content

Commit 47e3617

Browse files
Add XML documentation to the IOption interface (#1108)
1 parent eeda78a commit 47e3617

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/System.CommandLine/IOption.cs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,24 @@
55

66
namespace System.CommandLine
77
{
8+
/// <summary>
9+
/// Defines a symbol with an argument.
10+
/// </summary>
811
public interface IOption : IIdentifierSymbol, IValueDescriptor
912
{
13+
/// <summary>
14+
/// Gets the argument for the option.
15+
/// </summary>
1016
IArgument Argument { get; }
1117

18+
/// <summary>
19+
/// Gets a value that indicates whether the option is required.
20+
/// </summary>
1221
bool IsRequired { get; }
1322

23+
/// <summary>
24+
/// Gets a value that indicates whether multiple argument values are allowed.
25+
/// </summary>
1426
bool AllowMultipleArgumentsPerToken { get; }
1527
}
1628
}

0 commit comments

Comments
 (0)