public async Task Draw(CompositionGraphicsDevice device, Object drawingLock, ContentDrawer drawer) { Debug.Assert(_surface != null); _drawer = drawer; await _drawer.Draw(device, drawingLock, _surface, _surface.Size); }
private async Task ReloadContent(CompositionGraphicsDevice device, Object drawingLock) { await _drawer.Draw(device, drawingLock, _surface, _surface.Size); }