jellyfin-server/MediaBrowser.Common/IDependencyContainer.cs

15 lines
360 B
C#
Raw Normal View History

2014-05-08 21:23:24 +00:00
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);
}
}