2 instantiations of StreamImageSource
Microsoft.Maui.Controls (2)
ImageSource.cs (2)
91 return new StreamImageSource { Stream = token => Task.Run(stream, token) }; 97 return new StreamImageSource { Stream = stream };
7 references to StreamImageSource
Microsoft.Maui.Controls (2)
Hosting\AppHostBuilderExtensions.cs (1)
234 services.AddService<StreamImageSource>(svcs => new StreamImageSourceService(svcs.CreateLogger<StreamImageSourceService>()));
StreamImageSource.cs (1)
13 public static readonly BindableProperty StreamProperty = BindableProperty.Create(nameof(Stream), typeof(Func<CancellationToken, Task<Stream>>), typeof(StreamImageSource),
Microsoft.Maui.Controls.Compatibility (5)
AppHostBuilderExtensions.cs (1)
97 Internals.Registrar.Registered.Register(typeof(StreamImageSource), typeof(StreamImagesourceHandler));
iOS\Renderers\ImageAnimationHelper.cs (1)
188 static public async Task<FormsCAKeyFrameAnimation> CreateAnimationFromStreamImageSourceAsync(StreamImageSource imageSource, CancellationToken cancelationToken = default(CancellationToken))
iOS\Renderers\ImageRenderer.cs (3)
164 var streamsource = imagesource as StreamImageSource; 184 FormsCAKeyFrameAnimation animation = await ImageAnimationHelper.CreateAnimationFromStreamImageSourceAsync(imagesource as StreamImageSource, cancelationToken).ConfigureAwait(false);