示例#1
0
        /// <summary>
        /// Creates the provider with the ZIP file to be processed.
        /// 注意:所有目录 必须以‘/’结尾
        /// </summary>
        public ZipFileProvider(ZipFileSystemConfiguration configuration) {
            Ensure.ArgumentNotNull(configuration, "configuration");
            Configuration = configuration;

            //init the repository
            NodeRepository = new ZipNodeRepository(configuration);

            InitTransferServices();
        }
示例#2
0
        /// <summary>
        /// Creates the provider with the ZIP file to be processed.
        /// 注意:所有目录 必须以‘/’结尾
        /// </summary>
        public ZipFileProvider(ZipFileSystemConfiguration configuration)
        {
            Ensure.ArgumentNotNull(configuration, "configuration");
            Configuration = configuration;

            //init the repository
            NodeRepository = new ZipNodeRepository(configuration);

            InitTransferServices();
        }