Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 9f865a1028
Fetching contributors…

Cannot retrieve contributors at this time

file 27 lines (24 sloc) 0.708 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
using System;

namespace CLAP
{
    /// <summary>
    /// Marks a method as a verb
    /// </summary>
[Serializable]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = false)]
    public sealed class VerbAttribute : Attribute
    {
        /// <summary>
        /// Additional names for the verb
        /// </summary>
        public string Aliases { get; set; }

        /// <summary>
        /// The description of the verb. Used to generate the help string
        /// </summary>
        public string Description { get; set; }

        /// <summary>
        /// Whether this verb is the default verb of the class
        /// </summary>
        public bool IsDefault { get; set; }
    }
}
Something went wrong with that request. Please try again.