Beispiel #1
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="choices">list of options</param>
 /// <param name="options">Menu configuration. If <c>null</c> default configuration is used</param>
 /// <exception cref="ArgumentNullException">if <paramref name="choices"/> is null</exception>
 /// <exception cref="ArgumentOutOfRangeException">if the number of choices are less than one or more than 25 (from a to z)</exception>
 public Menu(IEnumerable <string> choices, MenuOptions options = null) : this(null, choices, options)
 {
 }