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 { } }