mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-06-19 13:28:16 +08:00
26 lines
563 B
C#
26 lines
563 B
C#
using System;
|
|
|
|
namespace Spectre.Console.Cli;
|
|
|
|
/// <summary>
|
|
/// Represents a command parameter.
|
|
/// </summary>
|
|
public interface ICommandParameterInfo
|
|
{
|
|
/// <summary>
|
|
/// Gets the property name.
|
|
/// </summary>
|
|
/// <value>The property name.</value>
|
|
public string PropertyName { get; }
|
|
|
|
/// <summary>
|
|
/// Gets the parameter type.
|
|
/// </summary>
|
|
public Type ParameterType { get; }
|
|
|
|
/// <summary>
|
|
/// Gets the description.
|
|
/// </summary>
|
|
/// <value>The description.</value>
|
|
public string? Description { get; }
|
|
} |