internal PackageUploadBuilder(IPackageDirectoryBuilder builder, IFileCompressor fileCompressor) { if (builder == null) throw new ArgumentNullException("builder"); if (fileCompressor == null) throw new ArgumentNullException("fileCompressor"); this.builder = builder; this.fileCompressor = fileCompressor; }
internal const long MaximumPackageSize = 1000 * 1024 * 1024; // 1 GB internal PackageUploadBuilder(IPackageDirectoryBuilder builder, IFileCompressor fileCompressor) { if (builder == null) { throw new ArgumentNullException("builder"); } if (fileCompressor == null) { throw new ArgumentNullException("fileCompressor"); } this.builder = builder; this.fileCompressor = fileCompressor; }