mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-08 04:18:06 +02:00
15 lines
360 B
C#
15 lines
360 B
C#
|
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);
|
|||
|
}
|
|||
|
}
|