You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Feature: Support for ServiceLifetimes in TypeRegistrars
Added ISupportLifetimes and ITypeRegistrar extension method WithLifetimes to incorporate strongly-typed registration extension methods.
Implemented ISupportLifetimes on DependencyInjectionTypeRegistrar and LamarTypeRegistrar.
Implemented LifetimeExtenion generic methods RegisterSingleton, RegisterScoped, and Register Transient to allows services to be added with different ServiceLifetimes.
Added ability to set default ServiceLifetime for containers that support lifetimes: DITypeRegistrar, LamarTypeRegistrar, and LightInject.