Lorem Ipsum Generator
More...
|
| LoremIpsumGenerator (int NumberOfParagraphs=1, int NumberOfSentences=1, int MinSentenceLength=4, int MaxSentenceLength=10, bool HTMLFormatting=false) |
| Constructor More...
|
|
virtual string | Next (System.Random Rand) |
| Generates a random value of the specified type More...
|
|
virtual string | Next (System.Random Rand, string Min, string Max) |
| Generates a random value of the specified type More...
|
|
override object | NextObj (System.Random Rand) |
| Generates next object More...
|
|
Public Member Functions inherited from Utilities.Random.Interfaces.IGenerator< T > |
T | Next (System.Random Rand, T Min, T Max) |
| Generates a random value of the specified type More...
|
|
Public Member Functions inherited from Utilities.Random.Interfaces.IGenerator< string > |
T | Next (System.Random Rand) |
| Generates a random value of the specified type More...
|
|
T | Next (System.Random Rand, T Min, T Max) |
| Generates a random value of the specified type More...
|
|
object | NextObj (System.Random Rand) |
| Generates a random value and returns it as an object More...
|
|
Lorem Ipsum Generator
Definition at line 34 of file LoremIpsumGenerator.cs.
Utilities.Random.StringGenerators.LoremIpsumGenerator.LoremIpsumGenerator |
( |
int |
NumberOfParagraphs = 1 , |
|
|
int |
NumberOfSentences = 1 , |
|
|
int |
MinSentenceLength = 4 , |
|
|
int |
MaxSentenceLength = 10 , |
|
|
bool |
HTMLFormatting = false |
|
) |
| |
Constructor
- Parameters
-
NumberOfParagraphs | Number of paragraphs |
MaxSentenceLength | Maximum sentence length |
MinSentenceLength | Minimum sentence length |
NumberOfSentences | Number of sentences per paragraph |
HTMLFormatting | Determines if this should use HTML formatting or not |
Definition at line 44 of file LoremIpsumGenerator.cs.
virtual string Utilities.Random.StringGenerators.LoremIpsumGenerator.Next |
( |
System.Random |
Rand | ) |
|
|
virtual |
virtual string Utilities.Random.StringGenerators.LoremIpsumGenerator.Next |
( |
System.Random |
Rand, |
|
|
string |
Min, |
|
|
string |
Max |
|
) |
| |
|
virtual |
Generates a random value of the specified type
- Parameters
-
Rand | Random number generator that it can use |
Min | Minimum value (inclusive) |
Max | Maximum value (inclusive) |
- Returns
- A randomly generated object of the specified type
Definition at line 162 of file LoremIpsumGenerator.cs.
override object Utilities.Random.StringGenerators.LoremIpsumGenerator.NextObj |
( |
System.Random |
Rand | ) |
|
|
virtual |
virtual string Utilities.Random.StringGenerators.LoremIpsumGenerator.NextSentence |
( |
System.Random |
Rand, |
|
|
int |
NumberOfWords |
|
) |
| |
|
protectedvirtual |
Creates a Lorem Ipsum sentence.
- Parameters
-
NumberOfWords | Number of words for the sentence |
Rand | Random number generator using |
- Returns
- A string containing Lorem Ipsum text
Definition at line 183 of file LoremIpsumGenerator.cs.
virtual bool Utilities.Random.StringGenerators.LoremIpsumGenerator.HTMLFormatting |
|
getprotected set |
virtual int Utilities.Random.StringGenerators.LoremIpsumGenerator.MaxSentenceLength |
|
getprotected set |
virtual int Utilities.Random.StringGenerators.LoremIpsumGenerator.MinSentenceLength |
|
getprotected set |
virtual int Utilities.Random.StringGenerators.LoremIpsumGenerator.NumberOfParagraphs |
|
getprotected set |
virtual int Utilities.Random.StringGenerators.LoremIpsumGenerator.NumberOfSentences |
|
getprotected set |
The documentation for this class was generated from the following file: