Lorem Class

Summary

A collection of Random sentences/words/paragraphs etc. related resources.
Namespace
Faker
Base Types
  • object
graph TD Base0["object"]-->Type Type["Lorem"] class Type type-node

Syntax

public static class Lorem

Remarks

The resources are acquired by satellite assemblies matching the current thread's System.Globalization.CultureInfo. If no matching satellite assembly is found, the english version is used.

Methods

Name Value Summary
Characters(int) string
Generates random characters with the specified charCount.
static
Paragraph() string
Gets a random paragraph.
static
Paragraph(int) string
Gets a random paragraph.
static
Paragraphs(int) IEnumerable<string>
Gets a collection of random paragraphs.
static
Sentence() string
Gets a random sentence.
static
Sentence(int) string
Gets a random sentence.
static
Sentences(int) IEnumerable<string>
Gets a collection of random sentences.
static
Words(int) IEnumerable<string>
Gets the specified count of random words.
static
GitHub