Пример #1
0
 public void Write(object instance, INodeWriter parentNode, Type referencedAsType)
 {
     using (var referenceNode = ownerDocument.CreateObjectRefernceElement(parentNode))
     {
         referenceNode.AddAttribute("ID", valuesCache.GetID(instance));
     }
 }