summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Core/UriImageSource.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Core/UriImageSource.cs')
-rw-r--r--Xamarin.Forms.Core/UriImageSource.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/Xamarin.Forms.Core/UriImageSource.cs b/Xamarin.Forms.Core/UriImageSource.cs
index 8055116..7d1a9eb 100644
--- a/Xamarin.Forms.Core/UriImageSource.cs
+++ b/Xamarin.Forms.Core/UriImageSource.cs
@@ -1,9 +1,11 @@
using System;
using System.Collections.Generic;
+using System.ComponentModel;
using System.Diagnostics;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
+using Xamarin.Forms.Internals;
namespace Xamarin.Forms
{
@@ -64,7 +66,8 @@ namespace Xamarin.Forms
set { SetValue(UriProperty, value); }
}
- internal async Task<Stream> GetStreamAsync(CancellationToken userToken = default(CancellationToken))
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public async Task<Stream> GetStreamAsync(CancellationToken userToken = default(CancellationToken))
{
OnLoadingStarted();
userToken.Register(CancellationTokenSource.Cancel);