private async Task InitializeAsync()
        {
            // Load the default photo meanwhile.
            var source = new BufferProviderImageSource(PreloadedImages.Woman.AsBufferProvider());

            SourcePreviewBitmap = await LoadPhotoInternalAsync(source).ConfigureAwait(false);
            RaiseSourcePreviewAvailable();

            // Wait for the image processors.
            await GetImageProcessorsAsync().ConfigureAwait(false);

            // Now render the thumbnails showing the available imageprocessors.
            UpdateThumbnailsAsync();
        }
Ejemplo n.º 2
0
        private async Task InitializeAsync()
        {
            // Load the default photo meanwhile.
            var source = new BufferProviderImageSource(PreloadedImages.Woman.AsBufferProvider());

            SourcePreviewBitmap = await LoadPhotoInternalAsync(source).ConfigureAwait(false);

            RaiseSourcePreviewAvailable();

            // Wait for the image processors.
            await GetImageProcessorsAsync().ConfigureAwait(false);

            // Now render the thumbnails showing the available imageprocessors.
            UpdateThumbnailsAsync();
        }