2016-03-22 23:02:25 +03:00
|
|
|
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
|
|
|
|
{
|
2016-07-19 02:16:47 +03:00
|
|
|
Task<Windows.UI.Xaml.Media.ImageSource> LoadImageAsync(ImageSource imagesource, CancellationToken cancellationToken = default(CancellationToken));
|
2016-03-22 23:02:25 +03:00
|
|
|
}
|
|
|
|
}
|