예제 #1
0
        public void SaveToStream(Stream stream)
        {
            var collection = new ClientVersionCollection(this.Versions);
            var serializer = new XmlSerializer(typeof(ClientVersionCollection));
            var namespaces = new XmlSerializerNamespaces();

            namespaces.Add("", "");

            serializer.Serialize(stream, collection, namespaces);
        }
예제 #2
0
        public void SaveToStream(Stream stream)
        {
            var collection = new ClientVersionCollection(this.Versions);
              var serializer = new XmlSerializer(typeof(ClientVersionCollection));
              var namespaces = new XmlSerializerNamespaces();
              namespaces.Add("", "");

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