mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-30 05:45:31 +02:00
cleanup
This commit is contained in:
@@ -51,7 +51,10 @@ namespace NzbDrone.Common.Composition
|
||||
|
||||
public void Register<TService>(Func<IContainer, TService> factory) where TService : class
|
||||
{
|
||||
_container.Register((c, n) => factory(this));
|
||||
_container.Register((c, n) =>
|
||||
{
|
||||
return factory(this);
|
||||
});
|
||||
}
|
||||
|
||||
public void RegisterSingleton<TService, TImplementation>()
|
||||
|
Reference in New Issue
Block a user