Ejemplo n.º 1
0
        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;
        }
Ejemplo n.º 2
0
        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;
        }