From 35d6380513fabf9e36f1fcc5d3db3a0bce56bbd9 Mon Sep 17 00:00:00 2001 From: Matthew Leibowitz Date: Sat, 7 May 2022 15:23:58 +0700 Subject: [PATCH] Incorrect type name --- .../W2DImageLoadingService.cs | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/Microsoft.Maui.Graphics.Win2D.WinUI.Desktop/W2DImageLoadingService.cs b/src/Microsoft.Maui.Graphics.Win2D.WinUI.Desktop/W2DImageLoadingService.cs index 648f908..b8497f6 100644 --- a/src/Microsoft.Maui.Graphics.Win2D.WinUI.Desktop/W2DImageLoadingService.cs +++ b/src/Microsoft.Maui.Graphics.Win2D.WinUI.Desktop/W2DImageLoadingService.cs @@ -1,12 +1,18 @@ -using System.IO; +using System; +using System.ComponentModel; +using System.IO; namespace Microsoft.Maui.Graphics.Win2D { - public class SkiaImageLoadingService : IImageLoadingService + public class W2DImageLoadingService : IImageLoadingService { public IImage FromStream(Stream stream, ImageFormat formatHint = ImageFormat.Png) { return W2DImage.FromStream(stream, formatHint); } } + + [Obsolete] + [EditorBrowsable(EditorBrowsableState.Never)] + public class SkiaImageLoadingService : W2DImageLoadingService { } }