Inline CommandArgument required/optional style in template parameter docs

This commit is contained in:
Arve Systad 2022-11-24 23:01:41 +01:00 committed by Patrik Svensson
parent 879dd9fbb1
commit 83982347f6

View File

@ -31,7 +31,7 @@ public sealed class CommandArgumentAttribute : Attribute
/// Initializes a new instance of the <see cref="CommandArgumentAttribute"/> class.
/// </summary>
/// <param name="position">The argument position.</param>
/// <param name="template">The argument template.</param>
/// <param name="template">The argument template. Wrap in &lt;&gt; for required arguments, [] for optional ones. For example "[MyArgument]".</param>
public CommandArgumentAttribute(int position, string template)
{
if (template == null)