Esempio n. 1
0
        public static void Save(string settingsFilename, inputSettings InputSettings)
        {
            Stream        stream     = File.OpenWrite(settingsFilename);
            XmlSerializer serializer = new
                                       XmlSerializer(typeof(inputSettings));

            serializer.Serialize(stream, InputSettings);
        }
Esempio n. 2
0
 public static void Save(string settingsFilename, inputSettings InputSettings)
 {
     Stream stream = File.OpenWrite(settingsFilename);
     XmlSerializer serializer = new
        XmlSerializer(typeof(inputSettings));
     serializer.Serialize(stream, InputSettings);
 }