ImageGeneratorBuilderServiceCollectionExtensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides extension methods for registering IImageGenerator with a IServiceCollection.
public ref class ImageGeneratorBuilderServiceCollectionExtensions abstract sealed
[System.Diagnostics.CodeAnalysis.Experimental("MEAI001")]
public static class ImageGeneratorBuilderServiceCollectionExtensions
public static class ImageGeneratorBuilderServiceCollectionExtensions
[<System.Diagnostics.CodeAnalysis.Experimental("MEAI001")>]
type ImageGeneratorBuilderServiceCollectionExtensions = class
type ImageGeneratorBuilderServiceCollectionExtensions = class
Public Module ImageGeneratorBuilderServiceCollectionExtensions
- Inheritance
-
ImageGeneratorBuilderServiceCollectionExtensions
- Attributes
Methods
| AddImageGenerator(IServiceCollection, Func<IServiceProvider,IImageGenerator>, ServiceLifetime) |
Registers a singleton IImageGenerator in the IServiceCollection. |
| AddImageGenerator(IServiceCollection, IImageGenerator, ServiceLifetime) |
Registers a singleton IImageGenerator in the IServiceCollection. |
| AddKeyedImageGenerator(IServiceCollection, Object, Func<IServiceProvider,IImageGenerator>, ServiceLifetime) |
Registers a keyed singleton IImageGenerator in the IServiceCollection. |
| AddKeyedImageGenerator(IServiceCollection, Object, IImageGenerator, ServiceLifetime) |
Registers a keyed singleton IImageGenerator in the IServiceCollection. |