protected internal override IEnumerable<PostEntry> BuildPostData()
{
if (Checked == false)
{
yield break;
}
var value = Value;
if (string.IsNullOrEmpty(value))
{
// The value of "on" is the default by convention.
value = "on";
}
yield return new PostEntry(Name, value);
}