mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-10 01:38:49 +01:00
split files into separate classes
This commit is contained in:
15
MediaBrowser.Common/IDependencyContainer.cs
Normal file
15
MediaBrowser.Common/IDependencyContainer.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
|
||||
namespace MediaBrowser.Common
|
||||
{
|
||||
public interface IDependencyContainer
|
||||
{
|
||||
void RegisterSingleInstance<T>(T obj, bool manageLifetime = true)
|
||||
where T : class;
|
||||
|
||||
void RegisterSingleInstance<T>(Func<T> func)
|
||||
where T : class;
|
||||
|
||||
void Register(Type typeInterface, Type typeImplementation);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user