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); }
protected override void Store(XmlWorkListDefinition definition) { var helper = new XmlSerializationHelper <XmlWorkListDefinition>(); helper.SaveToFile(definition, _xmlFilePath); }