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); } }
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); } }