Пример #1
0
 public FormElement(bool allowMethodOverrideSyntax)
     : base("form")
 {
     ContentModel.Clear();
     ContentModel.AddRange(Document.GetContentModelFor <IFormElement>());
     Attributes.AllowedAttributes = Document.GetAllowedAttributesFor <IFormElement>();
     IsMethodOverrideActive       = allowMethodOverrideSyntax;
 }