Exemplo n.º 1
0
        protected internal void GetAllVersions()
        {
            var xDoc = MyFileWorker.LoadXDocument(Properties.Settings.Default.FileWithVersionsPath);
            var allVersionElement = xDoc.Element("Versions").Element("AllVersions");

            AllVersionsList = allVersionElement.Elements().ToList();
        }
Exemplo n.º 2
0
 public CSProjProcessor(List <string> _csProjFileNames, IFileWorker _workWithFile) //tested
 {
     csProjFileNames = _csProjFileNames;
     MyWorkWithFile  = _workWithFile;
     RootDocuments   = new List <DXProjDocument>();
     foreach (var fl in csProjFileNames)
     {
         var doc   = MyWorkWithFile.LoadXDocument(fl);
         var dxDoc = new DXProjDocument(doc, fl);
         RootDocuments.Add(dxDoc);
     }
 }