示例#1
0
        public void WriteMembers(object instance, ISerialiserNode parentNode, Type type)
        {
            var typeName = typeNamesCache.GetTypeName(type);

            using (var listNode = ownerDocument.CreateListElement(typeName, parentNode))
            {
                WriteItems(listNode, (IList)instance);
            }
        }