C# Class SimpleTalk.WaffleGenerator.WaffleEngine

Afficher le fichier Open project: ChrisEdwards/Fluency

Méthodes publiques

Méthode Description
HtmlWaffle ( int paragraphs, System.Boolean includeHeading, StringBuilder result ) : void
TextWaffle ( int paragraphs, System.Boolean includeHeading, StringBuilder result ) : void
TitleCaseWords ( string input ) : string
WaffleEngine ( Random random ) : System

Private Methods

Méthode Description
EvaluateCardinalSequence ( StringBuilder output ) : void
EvaluateOrdinalSequence ( StringBuilder output ) : void
EvaluatePhrase ( string phrase, StringBuilder result ) : void
EvaluateRandomPhrase ( string phrases, StringBuilder output ) : void
RandomDate ( StringBuilder output ) : void

Method Details

HtmlWaffle() public méthode

public HtmlWaffle ( int paragraphs, System.Boolean includeHeading, StringBuilder result ) : void
paragraphs int
includeHeading System.Boolean
result StringBuilder
Résultat void

TextWaffle() public méthode

public TextWaffle ( int paragraphs, System.Boolean includeHeading, StringBuilder result ) : void
paragraphs int
includeHeading System.Boolean
result StringBuilder
Résultat void

TitleCaseWords() public static méthode

public static TitleCaseWords ( string input ) : string
input string
Résultat string

WaffleEngine() public méthode

public WaffleEngine ( Random random ) : System
random System.Random
Résultat System