Table of Contents

Class MultiStringDownloader<T>

Namespace
SunamoThreading.Downloading
Assembly
SunamoThreading.dll

Downloads multiple strings concurrently using a timed thread pool.

public class MultiStringDownloader<T> where T : IInputDownload

Type Parameters

T

The input type, should implement IInputDownload.

Inheritance
MultiStringDownloader<T>
Inherited Members
Extension Methods

Constructors

MultiStringDownloader(Action<T, object>, Action<T, Exception>, string[])

Initializes a new instance of the MultiStringDownloader<T> class. Third parameter cannot be params.

public MultiStringDownloader(Action<T, object> evaluationMethod, Action<T, Exception> passExceptionMethod, string[] toDownload)

Parameters

evaluationMethod Action<T, object>

The method to call with the downloaded content.

passExceptionMethod Action<T, Exception>

The method to call when a download fails.

toDownload string[]

The URIs to download.