public async Task <IManagedSurface> CreateManagedSurfaceFromUriAsyncWorker(Uri uri, Size size) { var managedSurface = new ManagedSurface(this, uri, size); await managedSurface.RedrawSurface(); return(managedSurface); }
public IManagedSurface CreateManagedSurfaceFromUri(Uri uri, Size size) { var managedSurface = new ManagedSurface(this, uri, size); var ignored = managedSurface.RedrawSurface(); return(managedSurface); }