public void Ask()
{
const string SampleText = "sample Text";
Console.WriteLine();
Console.WriteLine("log messages from answering how cool it is:");
string coolness = this.evaluationEngine.Answer(new HowCoolIsTheEvaluationEngine());
Console.WriteLine();
Console.WriteLine("log messages from answering how many vowels there are:");
int vowels = this.evaluationEngine.Answer(
new HowManyVowelsAreInThisText { CountLetters = HowManyVowelsAreInThisText.Letters.Small },
SampleText);
Console.WriteLine();
Console.WriteLine();
string message = string.Format(
CultureInfo.InvariantCulture,
"knowing that {0} has {1} vowels is {2} cool!",
SampleText,
vowels,
coolness);
Console.WriteLine(message);
}
}