RewriteZipHostWithFiles() 공개 메소드

public RewriteZipHostWithFiles ( byte hostXap, IEnumerable filesToPlaceIntoHostXap, string runtimeVersion ) : IXapZipArchive
hostXap byte
filesToPlaceIntoHostXap IEnumerable
runtimeVersion string
리턴 IXapZipArchive
        private byte[] RewriteXapWithSpecialFiles(byte[] xapHost, Func<IEnumerable<ITestFile>> filesToCopyIntoHostXapFunc, string runtimeVersion)
        {
            var files = filesToCopyIntoHostXapFunc();
            if (files.Any())
            {
                var rewriter = new XapRewriter(_logger);

                xapHost = rewriter.RewriteZipHostWithFiles(xapHost, files, runtimeVersion)
                                .ToByteArray();
            }

            return xapHost;
        }
        private byte[] RewriteXapWithSpecialFiles(byte[] xapHost, IEnumerable<ITestFile> filesToCopyIntoHostXap)
        {
            if (filesToCopyIntoHostXap.Any())
            {
                var rewriter = new XapRewriter(_logger);

                xapHost = rewriter.RewriteZipHostWithFiles(xapHost, filesToCopyIntoHostXap)
                                .ToByteArray();
            }

            return xapHost;
        }