コード例 #1
0
        public static IEnumerable <TemplateFileInfo> CopyAndReadTemplateFiles(String rootPath)
        {
            String tempPath = Path.Combine(Path.GetTempPath() + Guid.NewGuid().ToString("D"));

            CopyHelper.CopyDirectoryR(rootPath, tempPath);
            return(ReadTemplateFiles(tempPath));
        }