2 writes to Stream
Microsoft.Maui.Controls (2)
ImageSource.cs (2)
91 return new StreamImageSource { Stream = token => Task.Run(stream, token) }; 97 return new StreamImageSource { Stream = stream };
6 references to Stream
Microsoft.Maui.Controls (4)
StreamImageSource.cs (4)
12 /// <summary>Bindable property for <see cref="Stream"/>.</summary> 13 public static readonly BindableProperty StreamProperty = BindableProperty.Create(nameof(Stream), typeof(Func<CancellationToken, Task<Stream>>), typeof(StreamImageSource), 17 public override bool IsEmpty => Stream == null; 43 stream = await Stream(CancellationTokenSource.Token);
Microsoft.Maui.Controls.Compatibility (2)
iOS\Renderers\ImageAnimationHelper.cs (1)
192 if (imageSource?.Stream != null)
iOS\Renderers\ImageRenderer.cs (1)
165 if (streamsource?.Stream != null)