summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.WinRT/IImageSourceHandler.cs
blob: 91eff534f7ade972e4d8ce764f631918a9e8adcf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
using System.Threading;
using System.Threading.Tasks;

#if WINDOWS_UWP

namespace Xamarin.Forms.Platform.UWP
#else

namespace Xamarin.Forms.Platform.WinRT
#endif
{
	public interface IImageSourceHandler : IRegisterable
	{
		Task<Windows.UI.Xaml.Media.ImageSource> LoadImageAsync(ImageSource imagesoure, CancellationToken cancellationToken = default(CancellationToken));
	}
}