mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -07:00
cleanup
This commit is contained in:
parent
3592cf530d
commit
57e78e31fe
6 changed files with 71 additions and 35 deletions
|
@ -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>()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue