Example #1
0
        public void Write(object instance, INodeWriter parentNode, Type referencedAsType)
        {
            var objectID = valuesCache.Add(instance);
            var typeName = typeNamesCache.GetTypeName(referencedAsType);

            using (ownerDocument.CreateAppObjectElement(typeName, objectID, parentNode))
            {
            }
        }