Exemplo n.º 1
0
 /// <summary>
 ///   Constructs a new word pack with an optional name.
 /// </summary>
 /// <remarks>
 ///   If the given name is not valid (<see cref="Naming.IsValidName(string)"/>) it will be replaced with
 ///   "New WordPack".
 /// </remarks>
 /// <param name="name">
 ///   The name of the new pack.
 /// </param>
 public WordPack(string name = null)
 {
     Name    = !Naming.IsValidName(name) ? "New Wordpack" : name;
     m_words = new List <string>();
 }