Class UnityContainerExtensions
Inherited Members
Namespace: PoeShared.Scaffolding
Assembly: PoeShared.dll
Syntax
public static class UnityContainerExtensions
Methods
Name | Description |
---|---|
AddNewExtensionIfNotExists<TExtension>(IUnityContainer) | |
RegisterSingleton<TTo>(IUnityContainer, Func<IUnityContainer, object>) | |
RegisterSingleton<TTo>(IUnityContainer, string, Func<IUnityContainer, object>) | |
RegisterSingleton<TTo>(IUnityContainer, params Type[]) | |
RegisterType<TTo>(IUnityContainer, params Type[]) | |
ReplaceConfigMetadata<T>(IUnityContainer, string) | |
ToServiceDescriptors(IUnityContainer) | Converts Unity container registrations to an enumerable of ServiceDescriptors. This allows for integrating Unity registrations with .NET Core's built-in dependency injection system. |