Class ServicesCollectionExtensions
Extension methods for IServiceCollection.
Inherited Members
Namespace: Unity.AppUI.MVVM
Assembly: solution.dll
Syntax
public static class ServicesCollectionExtensions
Methods
Name | Description |
---|---|
AddSingleton(IServiceCollection, Type) | Adds a singleton service of the type specified in |
AddSingleton(IServiceCollection, Type, Type) | Adds a singleton service of the type specified in |
AddSingleton<T>(IServiceCollection) | Adds a singleton service of the type specified in |
AddSingleton<TService, TImplementation>(IServiceCollection) | Adds a singleton service of the type specified in |
AddTransient(IServiceCollection, Type) | Adds a transient service of the type specified in |
AddTransient(IServiceCollection, Type, Type) | Adds a transient service of the type specified in |
AddTransient<T>(IServiceCollection) | Adds a transient service of the type specified in |
AddTransient<TService, TImplementation>(IServiceCollection) | Adds a transient service of the type specified in |
BuildServiceProvider(IServiceCollection) | Builds a IServiceProvider from the IServiceCollection. |
TryAddSingleton<TService>(IServiceCollection) | Adds a transient service of the type specified in |
TryAddSingleton<TService, TImplementation>(IServiceCollection) | Adds a transient service of the type specified in |