Beispiel #1
0
        /// <summary>
        /// Writes the calidus project to its own location
        /// </summary>
        /// <param name="project">The project</param>
        public void Write(ICalidusProject project)
        {
            XmlWriterSettings settings = new XmlWriterSettings();

            settings.Encoding = Encoding.UTF8;
            settings.Indent   = true;
            XmlWriter writer = XmlTextWriter.Create(project.GetProjectFile(), settings);

            WriteTo(project, writer);
            writer.Flush();
            writer.Close();
        }
Beispiel #2
0
 /// <summary>
 /// Get the project file
 /// </summary>
 public String GetProjectFile()
 {
     return(_project.GetProjectFile());
 }