private void CallWhenErrorDelegate(Exception e) { ErrorEventDelegate handler = WhenError; if (handler != null) { handler(e); } }
public IDownloader OnError(ErrorEventDelegate action) { WhenError = action; return(this); }
public IDownloader OnError(ErrorEventDelegate action) { WhenError = action; return this; }