internal Backgrounding() { inBackgrnd = false; context = null; this.callback = null; errorListener = null; }
internal Backgrounding(IBackgroundCallback callback, Object context) { this.inBackgrnd = true; this.context = context; this.callback = callback; errorListener = null; }
internal Backgrounding(bool inBackground) { this.inBackgrnd = inBackground; this.context = null; this.callback = null; errorListener = null; }
internal Backgrounding(Backgrounding rhs, IUnhandledErrorListener errorListener) { if (rhs == null) { rhs = new Backgrounding(); } this.inBackgrnd = rhs.inBackgrnd; this.context = rhs.context; this.callback = rhs.callback; this.errorListener = errorListener; }
public IPathable <List <String> > withUnhandledErrorListener(IUnhandledErrorListener listener) { backgrounding = new Backgrounding(backgrounding, listener); return(this); }
public PathAndBytesable <String> withUnhandledErrorListener(IUnhandledErrorListener listener) { backgrounding = new Backgrounding(backgrounding, listener); return(this); }