Exemplo n.º 1
0
        /// <summary>
        /// Generates the amount of lipsum words.
        /// </summary>
        /// <param name="count">The amount of words to generate.</param>
        /// <returns></returns>
        public string[] GenerateWords(int count)
        {
            string[] words = new string[count];

            for (int i = 0; i < count; i++)
            {
                words[i] = LipsumUtilities.RandomElement(PreparedWords);
            }

            return(words);
        }
Exemplo n.º 2
0
 public string RandomWord()
 {
     return(LipsumUtilities.RandomElement(PreparedWords));
 }