C# 클래스 Faker.Lorem

A collection of Random sentences/words/paragraphs etc. related resources.
파일 보기 프로젝트 열기: AdmiringWorm/Faker.NET.Portable 1 사용 예제들

공개 메소드들

메소드 설명
Characters ( int charCount = 255 ) : string

Generates random characters with the specified character count.

Paragraph ( ) : string

Gets a random paragraph.

Paragraph ( int minSentenceCount ) : string

Gets a random paragraph.

Paragraphs ( int paragraphCount ) : IEnumerable

Gets a collection of random paragraphs.

Sentence ( ) : string

Gets a random sentence.

Sentence ( int minWordCount ) : string

Gets a random sentence.

Sentences ( int sentenceCount ) : IEnumerable

Gets a collection of random sentences.

Words ( int count ) : IEnumerable

Gets the specified count of random words.

메소드 상세

Characters() 공개 정적인 메소드

Generates random characters with the specified character count.
/// Character count must be more than zero. ///
public static Characters ( int charCount = 255 ) : string
charCount int The character count.
리턴 string

Paragraph() 공개 정적인 메소드

Gets a random paragraph.
public static Paragraph ( ) : string
리턴 string

Paragraph() 공개 정적인 메소드

Gets a random paragraph.
/// Minimum sentence count must be greater than zero. ///
public static Paragraph ( int minSentenceCount ) : string
minSentenceCount int The minimum sentence count.
리턴 string

Paragraphs() 공개 정적인 메소드

Gets a collection of random paragraphs.
/// Paragraph Count must be greater than zero ///
public static Paragraphs ( int paragraphCount ) : IEnumerable
paragraphCount int The paragraph count.
리턴 IEnumerable

Sentence() 공개 정적인 메소드

Gets a random sentence.
public static Sentence ( ) : string
리턴 string

Sentence() 공개 정적인 메소드

Gets a random sentence.
/// Minimum word count must be greater than zero ///
public static Sentence ( int minWordCount ) : string
minWordCount int The minimum word count.
리턴 string

Sentences() 공개 정적인 메소드

Gets a collection of random sentences.
/// Sentence count must be greater than zero ///
public static Sentences ( int sentenceCount ) : IEnumerable
sentenceCount int The sentence count.
리턴 IEnumerable

Words() 공개 정적인 메소드

Gets the specified count of random words.
Count must be greater than zero
public static Words ( int count ) : IEnumerable
count int The count of random words.
리턴 IEnumerable