Ejemplo n.º 1
0
 public static void SerializeToXML(BnetCharacterIndexInfo settings, string path)
 {
     XmlSerializer serializer = new XmlSerializer(typeof(BnetCharacterIndexInfo));
     TextWriter textWriter = new StreamWriter(path);
     serializer.Serialize(textWriter, settings);
     textWriter.Close();
 }
Ejemplo n.º 2
0
        public static void SerializeToXML(BnetCharacterIndexInfo settings, string path)
        {
            XmlSerializer serializer = new XmlSerializer(typeof(BnetCharacterIndexInfo));
            TextWriter    textWriter = new StreamWriter(path);

            serializer.Serialize(textWriter, settings);
            textWriter.Close();
        }