mikehadlow/EasyNetQ — pull request #235 by chinaboard (2014-07-09 09:17:27+00:00)
Title: Use String.Format construct conn string parameter error when connecting to a Boolean type

Use String.Format construct conn string parameter error when connecting to a Boolean type

Fixed constructed using Boolean String head uppercase unusual cause problems

Example:
bool flag = true;
string conn = String.Format("host=localhost;publisherConfirms={0}",flag);

conn = "host=localhost;publisherConfirms=True"

Error in
\Sprache\ParserOfT.cs line 34
if (!success.Remainder.AtEnd)
{
throw new ParseException(string.Format("Parsing failure: Couldn't parse the whole input; unparsable remainder is: \"{0}\".", success.Remainder.Source.Substring(success.Remainder.Position)));
}

Incidentally formatting codes ^_^