public override void SetProperty(string name, object value)
{
switch (name)
{
case "IsResultVisibleBefore":
this.IsResultVisibleBefore = Convert.ToBoolean(value);
break;
case "ResultPageContentView":
this.ResultPageContentView = value as Node;
break;
case "VotingPageContentView":
this.VotingPageContentView = value as Node;
break;
case "CannotSeeResultContentView":
this.CannotSeeResultContentView = value as Node;
break;
default: base.SetProperty(name, value);
break;
}
}