protected virtual void CheckProperties()
{
//Verify.IsNotNull(this.ItemSelector, "ItemSelector");
//Verify.IsNotNull(this.Template.Text, "Template.Text");
if (this.ItemSelector.IsEmpty())
{
throw new ArgumentNullException("ItemSelector", "The ItemSelector can not be empty");
}
if (this.Template.Html.IsEmpty())
{
throw new ArgumentNullException("Template", "The Template can not be empty");
}
}