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
Added scopes support (IServiceScope, IServiceScopeFactory).
Added CreateInstance() extensions to IServiceProvider.
Added GetRequiredService() extensions to IServiceProvider.
Added Contains() and Remove() overloads to IServiceContainer.
Changed
Changed namespace to UnityFx.DependencyInjection.
Changed IServiceProvider.GetService() implementation to return null on resolve errors (instead of throwing an exception).
Changed ServiceProvider to have internal constructor. ServiceProvider instanced should be created with BuildServiceProvider extension of IServiceCollection.
Changed resolve validation to run on ServiceProvider construction (not on resolve).
Removed
Removed all assembly-specific exceptions. InvalidOperationException is thrown on resolve errors instead.