You can not select more than 25 topicsTopics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
/// Represent a command builder for creating <see cref="ICommandInfo"/>.
/// </summary>
public interface ICommandBuilder
{
/// <summary>
/// Gets the execution delegate of this command.
/// </summary>
ExecuteCallback Callback { get; }
/// <summary>
/// Gets the parent module of this command.
/// </summary>
ModuleBuilder Module { get; }
/// <summary>
/// Gets the name of this command.
/// </summary>
string Name { get; }
/// <summary>
/// Gets or sets the method name of this command.
/// </summary>
string MethodName { get; set; }
/// <summary>
/// Gets or sets <see langword="true"/> if this command will be registered and executed as a standalone command, unaffected by the <see cref="GroupAttribute"/>s of
/// of the commands parents.
/// </summary>
bool IgnoreGroupNames { get; set; }
/// <summary>
/// Gets or sets whether the <see cref="Name"/> should be directly used as a Regex pattern.
/// </summary>
bool TreatNameAsRegex { get; set; }
/// <summary>
/// Gets or sets the run mode this command gets executed with.
/// </summary>
RunMode RunMode { get; set; }
/// <summary>
/// Gets a collection of the attributes of this command.
/// </summary>
IReadOnlyList<Attribute> Attributes { get; }
/// <summary>
/// Gets a collection of the parameters of this command.