1 instantiation of UriImageSource
Microsoft.Maui.Controls (1)
ImageSource.cs (1)
105 return new UriImageSource { Uri = uri };
11 references to UriImageSource
Microsoft.Maui.Controls (8)
Hosting\AppHostBuilderExtensions.cs (1)
229 services.AddService<UriImageSource>(svcs => new UriImageSourceService(svcs.CreateLogger<UriImageSourceService>()));
ImageSourceConverter.cs (1)
38 if (value is UriImageSource uis)
UriImageSource.cs (6)
17 nameof(Uri), typeof(Uri), typeof(UriImageSource), default(Uri), 18 propertyChanged: (bindable, oldvalue, newvalue) => ((UriImageSource)bindable).OnUriChanged(), 23 nameof(CacheValidity), typeof(TimeSpan), typeof(UriImageSource), TimeSpan.FromDays(1)); 27 nameof(CachingEnabled), typeof(bool), typeof(UriImageSource), true); 75 Application.Current?.FindMauiContext()?.CreateLogger<UriImageSource>()?.LogWarning(ex, "Error getting stream for {Uri}", Uri); 126 Application.Current?.FindMauiContext()?.CreateLogger<UriImageSource>()?.LogWarning(ex, "Error getting stream for {Uri}", Uri);
Microsoft.Maui.Controls.Compatibility (3)
AppHostBuilderExtensions.cs (1)
98 Internals.Registrar.Registered.Register(typeof(UriImageSource), typeof(ImageLoaderSourceHandler));
iOS\Renderers\ImageAnimationHelper.cs (1)
209 static public async Task<FormsCAKeyFrameAnimation> CreateAnimationFromUriImageSourceAsync(UriImageSource imageSource, CancellationToken cancelationToken = default(CancellationToken))
iOS\Renderers\ImageRenderer.cs (1)
224 FormsCAKeyFrameAnimation animation = await ImageAnimationHelper.CreateAnimationFromUriImageSourceAsync(imagesource as UriImageSource, cancelationToken).ConfigureAwait(false);