示例#1
0
文件: ZipHelper.cs 项目: uxifiit/UXR
        public string CreateFilePathFormat(RecordingFilesPathDepth depth)
        {
            IEnumerable <string> filePathSegments = AllowedPathSegments.Where(segment => depth.HasFlag(segment)).Select(segment => PathDepthMap[segment]);

            string filePathFormat = String.Join("/", filePathSegments);

            return(filePathFormat);
        }
示例#2
0
文件: ZipHelper.cs 项目: uxifiit/UXR
        public void ZipRecordingFiles(IEnumerable <Recording> recordings, Stream stream, RecordingFilesPathDepth depth)
        {
            string filePathFormat = CreateFilePathFormat(depth);

            ZipRecordingFiles(recordings, stream, filePathFormat);
        }