/// <summary>
        ///     The class constructor
        /// </summary>
        /// <param name="fileSystem">For moving files around</param>
        /// <param name="pathRemapper">For modifying custom node paths</param>
        internal PackageDirectoryBuilder(IFileSystem fileSystem, IPathRemapper pathRemapper) 
        {
            if (fileSystem == null) throw new ArgumentNullException("fileSystem");
            if (pathRemapper == null) throw new ArgumentNullException("pathRemapper");

            this.fileSystem = fileSystem;
            this.pathRemapper = pathRemapper;
        }
示例#2
0
        /// <summary>
        ///     The class constructor
        /// </summary>
        /// <param name="fileSystem">For moving files around</param>
        /// <param name="pathRemapper">For modifying custom node paths</param>
        internal PackageDirectoryBuilder(IFileSystem fileSystem, IPathRemapper pathRemapper)
        {
            if (fileSystem == null)
            {
                throw new ArgumentNullException("fileSystem");
            }
            if (pathRemapper == null)
            {
                throw new ArgumentNullException("pathRemapper");
            }

            this.fileSystem   = fileSystem;
            this.pathRemapper = pathRemapper;
        }