예제 #1
0
 private byte[] SerializeContent(object obj)
 {
     return(MyXmlSerializer.Serialize(obj, MyPublicationSession.namespaces));
 }
예제 #2
0
        public static void Serialize(Type type, XmlWriter writer, object obj)
        {
            MyXmlSerializer serializer = GetSerializerFromList(type);

            serializer.Serialize(writer, obj);
        }