Share via


ImageSourceServiceCollectionExtensions Class

Definition

public ref class ImageSourceServiceCollectionExtensions abstract sealed
public static class ImageSourceServiceCollectionExtensions
type ImageSourceServiceCollectionExtensions = class
Public Module ImageSourceServiceCollectionExtensions
Inheritance
ImageSourceServiceCollectionExtensions

Methods

AddService<TImageSource,TImageSourceService>(IImageSourceServiceCollection)

Registers an image service with the underlying service container via AddSingleton.

AddService<TImageSource>(IImageSourceServiceCollection, Func<IServiceProvider,IImageSourceService<TImageSource>>)

Registers an image service with the underlying service container via AddSingleton.

Applies to