/// <inheritdoc /> public override XmlElement BuildXmlElement(XmlDocument doc, string name) { XmlElement element = XmlHelper.CreateElement(doc, name); XmlHelper.AppendTextElement(element, ClassHelper.GetMemberName(() => Mask), Mask); if (Groups != null) { element.AppendChild(Groups.BuildXmlElement(doc, ClassHelper.GetMemberName(() => Groups))); } XmlHelper.AppendTextElement(element, ClassHelper.GetMemberName(() => Clear), Clear); return(element); }