Skip to content

Commit 3835463

Browse files
XML documentation for IIdentifierSymbol interface (#1104)
* Add XML documentation to the IIdentifierSymbol interface * Improve wording
1 parent 8776f6e commit 3835463

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/System.CommandLine/IIdentifierSymbol.cs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,21 @@
55

66
namespace System.CommandLine
77
{
8+
/// <summary>
9+
/// Defines a symbol with aliases.
10+
/// </summary>
811
public interface IIdentifierSymbol : ISymbol
912
{
13+
/// <summary>
14+
/// Gets the aliases for the symbol.
15+
/// </summary>
1016
IReadOnlyCollection<string> Aliases { get; }
1117

18+
/// <summary>
19+
/// Determines whether the alias has already been defined.
20+
/// </summary>
21+
/// <param name="alias">The alias to search for.</param>
22+
/// <returns><c>true</c> if the alias has already been defined; otherwise <c>false</c>.</returns>
1223
bool HasAlias(string alias);
1324
}
1425
}

0 commit comments

Comments
 (0)