4 implementations of IImageSourceService
Microsoft.Maui (4)
ImageSources\FileImageSourceService\FileImageSourceService.cs (1)
6 public partial class FileImageSourceService : ImageSourceService, IImageSourceService<IFileImageSource>
ImageSources\FontImageSourceService\FontImageSourceService.cs (1)
6 public partial class FontImageSourceService : ImageSourceService, IImageSourceService<IFontImageSource>
ImageSources\StreamImageSourceService\StreamImageSourceService.cs (1)
6 public partial class StreamImageSourceService : ImageSourceService, IImageSourceService<IStreamImageSource>
ImageSources\UriImageSourceService\UriImageSourceService.cs (1)
6 public partial class UriImageSourceService : ImageSourceService, IImageSourceService<IUriImageSource>
8 references to IImageSourceService
Microsoft.Maui (8)
Hosting\ImageSources\ImageSourceServiceCollectionExtensions.cs (6)
18 where TImageSourceService : class, IImageSourceService<TImageSource> 20 services.AddImageSourceMapping<TImageSource, IImageSourceService<TImageSource>>(); 22 services.AddSingleton<IImageSourceService<TImageSource>, TImageSourceService>(); 35 public static IImageSourceServiceCollection AddService<TImageSource>(this IImageSourceServiceCollection services, Func<IServiceProvider, IImageSourceService<TImageSource>> implementationFactory) 38 services.AddImageSourceMapping<TImageSource, IImageSourceService<TImageSource>>(); 46 where TImageSourceService : class, IImageSourceService<TImageSource>
Hosting\ImageSources\ImageSourceServiceProvider.cs (1)
13 static readonly Type ImageSourceServiceType = typeof(IImageSourceService<>);
Hosting\ImageSources\ImageSourceToImageSourceServiceTypeMapping.cs (1)
20 where TImageSourceService : class, IImageSourceService<TImageSource>