jellyfin/MediaBrowser.Common/IDependencyContainer.cs
2014-05-08 17:23:24 -04:00

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);
}
}