Ejemplo n.º 1
0
        private void CallWhenErrorDelegate(Exception e)
        {
            ErrorEventDelegate handler = WhenError;

            if (handler != null)
            {
                handler(e);
            }
        }
Ejemplo n.º 2
0
 public IDownloader OnError(ErrorEventDelegate action)
 {
     WhenError = action;
     return(this);
 }
Ejemplo n.º 3
0
 public IDownloader OnError(ErrorEventDelegate action)
 {
     WhenError = action;
     return this;
 }