mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -07:00
all services are singleton by default.
This commit is contained in:
parent
8bdf8c31f0
commit
763df726f0
12 changed files with 5 additions and 34 deletions
|
@ -24,7 +24,7 @@ namespace NzbDrone.Common.Composition
|
|||
IEnumerable<T> ResolveAll<T>() where T : class;
|
||||
IEnumerable<object> ResolveAll(Type type);
|
||||
void Register(Type registrationType, object instance);
|
||||
void RegisterAll(Type registrationType, IEnumerable<Type> implementationList);
|
||||
void RegisterAllAsSingleton(Type registrationType, IEnumerable<Type> implementationList);
|
||||
bool IsTypeRegistered(Type type);
|
||||
|
||||
IEnumerable<Type> GetImplementations(Type contractType);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue