Пример #1
0
 protected override void WriteGroup(Group group, Dictionary<string, string> key, Dictionary<string, string> attributes)
 {
     XmlWriter.WriteStartElement(_genericPrefix, "Group", _genericNameSpace);
     XmlWriter.WriteAttributeString("type", group.Id);
     WriteValues(key, "GroupKey");
     WriteValues(attributes, "Attributes");
 }
Пример #2
0
 protected override void WriteGroup(Group group, Dictionary<string, string> key, Dictionary<string, string> attributes)
 {
     XmlWriter.WriteStartElement(_prefix, group.Id, _targetNamespace);
     WriteAttributes(key);
     WriteAttributes(attributes);
     XmlWriter.WriteEndElement();
 }