1 instantiation of FileImageSource
Microsoft.Maui.Controls (1)
ImageSource.cs (1)
71 return new FileImageSource { File = file };
9 references to FileImageSource
Microsoft.Maui.Controls (9)
FileImageSource.cs (4)
11 public static readonly BindableProperty FileProperty = BindableProperty.Create(nameof(File), typeof(string), typeof(FileImageSource), default(string)); 35 public static implicit operator FileImageSource(string file) 37 return (FileImageSource)FromFile(file); 40 public static implicit operator string(FileImageSource file)
FileImageSourceConverter.cs (3)
21 return (FileImageSource)ImageSource.FromFile(strValue); 23 throw new InvalidOperationException(string.Format("Cannot convert \"{0}\" into {1}", strValue, typeof(FileImageSource))); 28 if (value is not FileImageSource fis)
Hosting\AppHostBuilderExtensions.cs (1)
232 services.AddService<FileImageSource>(svcs => new FileImageSourceService(svcs.CreateLogger<FileImageSourceService>()));
ImageSourceConverter.cs (1)
36 if (value is FileImageSource fis)