Skip to content

Commit

Permalink
Merge pull request #420 from dotnet/dev/fix-name
Browse files Browse the repository at this point in the history
Incorrect Windows service type name
  • Loading branch information
rmarinho authored May 9, 2022
2 parents 628ae7c + 1802d17 commit 7fba80c
Showing 1 changed file with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -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 { }
}

0 comments on commit 7fba80c

Please sign in to comment.