private void refresh(object obj) { this.busyLayer.Busy(); OFDRUnpacker.Load(this.reporter) .ContinueWith(t => { this.busyLayer.Idle(); raiseFolderRootBuilt(t.Result); }); }
private void unpack(IEnumerable <Model.FileData> files) { this.busyLayer.Busy(); OFDRUnpacker.Unpack(this.reporter, files) .ContinueWith(t => { this.busyLayer.Idle(); raiseUnpacked(); }); }