protected virtual void OnRenderCompleted(RenderResult result) { if (result.IsSuccess) { completedRequest = result.Request; completedBitmap = result.CreateBitmap(); bitmapInvalidated = false; InvalidateVisual(); BackgroundRenderer.RaiseRenderingFinished(this); } }
protected virtual void OnRenderCompleted(RenderResult result) { if (IsDisposed) { return; } completedRequest = result.Request; completedBitmap = result.Bitmap; bitmapInvalidated = false; InvalidateVisual(); BackgroundRenderer.RaiseRenderingFinished(this); }
protected virtual void OnRenderCompleted(RenderResult result) { if (result.IsSuccess) { completedRequest = result.Request; completedBitmap = result.CreateBitmap(); bitmapInvalidated = false; InvalidateVisual(); BackgroundRenderer.RaiseRenderingFinished(this); } }
protected virtual void OnRenderCompleted(RenderResult result) { if (IsDisposed) return; completedRequest = result.Request; completedBitmap = result.Bitmap; bitmapInvalidated = false; InvalidateVisual(); BackgroundRenderer.RaiseRenderingFinished(this); }