コード例 #1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="MultilineTextAttribute"/> class. Used in derived type
        /// using one line of text.
        /// </summary>
        /// <param name="line1">The first line of text.</param>
        protected MultilineTextAttribute(string line1)
        {
            Assumes.NotNullOrEmpty(line1, "line1");

            _line1 = line1;
        }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CommandLine.VerbOptionAttribute"/> class.
 /// </summary>
 /// <param name="longName">The long name of the verb command.</param>
 public VerbOptionAttribute(string longName)
     : base(null, longName)
 {
     Assumes.NotNullOrEmpty(longName, "longName");
 }