private List <VppFiles> ParseFiles(UnifiedDirectory directory) { var vppFiles = new List <VppFiles>(); try { foreach (UnifiedFile file in directory.Files) { var vppFile = new VppFiles { VirtualPath = file.VirtualPath, VppPath = file.LocalPath }; vppFiles.Add(vppFile); } } catch (Exception ex) { Logger.Error(ex); } return(vppFiles); }
private List<VppFiles> ParseFiles(UnifiedDirectory directory) { var vppFiles = new List<VppFiles>(); try { foreach (UnifiedFile file in directory.Files) { var vppFile = new VppFiles { VirtualPath = file.VirtualPath, VppPath = file.LocalPath }; vppFiles.Add(vppFile); } } catch (Exception ex) { Logger.Error(ex); } return vppFiles; }