You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
360 B
15 lines
360 B
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);
|
|
}
|
|
} |