LipsumGenerator Class
A utility class that can generate 'lorem ipsum' placeholder text.
public class LipsumGenerator
- Inheritance:
- object object
Constructors
LipsumGenerator()
Initializes an instance of the class.
public LipsumGenerator()
LipsumGenerator(string, string)
Initializes an instance of the class.
public LipsumGenerator(string startingWords, string words)
| Parameter | Type | Description |
|---|---|---|
| startingWords | string | The words that can start the first paragraph. |
| words | string | The words. |
Methods
GenerateParagraph(bool, int)
Generates a single paragraph of text.
public string GenerateParagraph(bool useStartingWords, int wordCount)
| Parameter | Type | Description |
|---|---|---|
| useStartingWords | bool | Whether to use the starting words to begin the paragraph (e.g. Lorem ipsum dolor sit amet...). |
| wordCount | int | The number of words in the paragraph. |
Returns
Inherited Members
- object.GetType()
- object.MemberwiseClone()
- object.ToString()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()