예제 #1
0
 static bool LoadFilesInPreviousInstance(string[] fileList)
 {
     try {
         foreach (string file in fileList)
         {
             if (ProjectService.HasProjectLoader(file))
             {
                 return(false);
             }
         }
         return(SingleInstanceHelper.OpenFilesInPreviousInstance(fileList));
     } catch (Exception ex) {
         LoggingService.Error(ex);
         return(false);
     }
 }
예제 #2
0
 static bool LoadFilesInPreviousInstance(string[] fileList)
 {
     try {
         foreach (string file in fileList)
         {
             if (SD.ProjectService.IsSolutionOrProjectFile(FileName.Create(file)))
             {
                 return(false);
             }
         }
         return(SingleInstanceHelper.OpenFilesInPreviousInstance(fileList));
     } catch (Exception ex) {
         LoggingService.Error(ex);
         return(false);
     }
 }