CmisSync.Lib.FileTransmission.ContentTaskUtils.CreateDownloader C# (CSharp) Метод

CreateDownloader() публичный статический Метод

Creates the downloader.
public static CreateDownloader ( long chunkSize, IFileTransmissionStorage storage = null ) : IFileDownloader
chunkSize long Chunk size.
storage IFileTransmissionStorage
Результат IFileDownloader
        public static IFileDownloader CreateDownloader(long chunkSize = 0, IFileTransmissionStorage storage = null) {
            return chunkSize > 0 ? (IFileDownloader)new ChunkedDownloader(chunkSize, storage) : (IFileDownloader)new SimpleFileDownloader();
        }
    }