C# Class SimpleTalk.WaffleGenerator.WaffleEngine

ファイルを表示 Open project: ChrisEdwards/Fluency

Public Methods

Method 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

Method 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 method

public HtmlWaffle ( int paragraphs, System.Boolean includeHeading, StringBuilder result ) : void
paragraphs int
includeHeading System.Boolean
result StringBuilder
return void

TextWaffle() public method

public TextWaffle ( int paragraphs, System.Boolean includeHeading, StringBuilder result ) : void
paragraphs int
includeHeading System.Boolean
result StringBuilder
return void

TitleCaseWords() public static method

public static TitleCaseWords ( string input ) : string
input string
return string

WaffleEngine() public method

public WaffleEngine ( Random random ) : System
random System.Random
return System