Esempio n. 1
0
        public void Save(Project project, string filePath)
        {
            project.SchemaVersion  = schemaVersion.ToString();
            project.ProgramVersion = GetProgramVersion().ToString();

            XmlSerializationHelper.SaveToFile(project, filePath);
        }
        public void StoreLocalConfiguration(T localSettings)
        {
            string fullConfigFileName =
                Path.Combine(LocalConfigDirectory, ConfigFileName);

            var helper = new XmlSerializationHelper <T>();

            helper.SaveToFile(localSettings, fullConfigFileName);
        }
Esempio n. 3
0
        protected override void Store(XmlWorkListDefinition definition)
        {
            var helper = new XmlSerializationHelper <XmlWorkListDefinition>();

            helper.SaveToFile(definition, _xmlFilePath);
        }