1 instantiation of UriImageSource
Microsoft.Maui.Controls (1)
ImageSource.cs (1)
105
return new
UriImageSource
{ Uri = uri };
8 references to UriImageSource
Microsoft.Maui.Controls (8)
Hosting\AppHostBuilderExtensions.cs (1)
235
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);