コード例 #1
0
		/// <summary>
		/// Generates 'count' features.
		/// </summary>
		/// <param name="count">The number of features desired.</param>
		/// <param name="feature">The type of feature desired.</param>
		/// <param name="formatString">The string with which to format the feature.</param>
		/// <param name="rawText">The text from which to generate the Lipsum.</param>
		/// <returns></returns>
		public static string Generate(int count, Features feature, string formatString, string rawText) {
			LipsumGenerator generator = new LipsumGenerator(rawText, false);
			return generator.GenerateLipsum(count, feature, formatString);			
		}