From 5b9094241b1d3da5419ed21be30bdcc07c469dbe Mon Sep 17 00:00:00 2001 From: "E.Z. Hart" Date: Wed, 4 May 2016 07:08:54 -0600 Subject: Prep StreamImageSource for removal of InternalsVisibleTo --- Xamarin.Forms.Core/StreamImageSource.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Xamarin.Forms.Core/StreamImageSource.cs') diff --git a/Xamarin.Forms.Core/StreamImageSource.cs b/Xamarin.Forms.Core/StreamImageSource.cs index ae59ea3c..06926749 100644 --- a/Xamarin.Forms.Core/StreamImageSource.cs +++ b/Xamarin.Forms.Core/StreamImageSource.cs @@ -5,7 +5,7 @@ using System.Threading.Tasks; namespace Xamarin.Forms { - public class StreamImageSource : ImageSource + public class StreamImageSource : ImageSource, IStreamImageSource { public static readonly BindableProperty StreamProperty = BindableProperty.Create("Stream", typeof(Func>), typeof(StreamImageSource), default(Func>)); @@ -21,9 +21,9 @@ namespace Xamarin.Forms if (propertyName == StreamProperty.PropertyName) OnSourceChanged(); base.OnPropertyChanged(propertyName); - } + } - internal async Task GetStreamAsync(CancellationToken userToken = default(CancellationToken)) + async Task IStreamImageSource.GetStreamAsync(CancellationToken userToken) { if (Stream == null) return null; -- cgit v1.2.3