Exemplo n.º 1
0
        public void SaveToStream(Stream stream)
        {
            var collection = new ColorThemeCollection(this.Themes);
            var serializer = new XmlSerializer(typeof(ColorThemeCollection));
            var namespaces = new XmlSerializerNamespaces();

            namespaces.Add("", "");

            serializer.Serialize(stream, collection, namespaces);
        }
Exemplo n.º 2
0
        public void SaveToStream(Stream stream)
        {
            var collection = new ColorThemeCollection(this.Themes);
              var serializer = new XmlSerializer(typeof(ColorThemeCollection));
              var namespaces = new XmlSerializerNamespaces();
              namespaces.Add("", "");

              serializer.Serialize(stream, collection, namespaces);
        }