2016-11-20 13:34:50 +00:00
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
namespace Tapeti
|
|
|
|
|
{
|
|
|
|
|
public interface IDependencyResolver
|
|
|
|
|
{
|
|
|
|
|
T Resolve<T>() where T : class;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public interface IDependencyInjector : IDependencyResolver
|
|
|
|
|
{
|
2016-12-05 07:00:09 +00:00
|
|
|
|
void RegisterPublisher(IPublisher publisher);
|
2016-11-20 13:34:50 +00:00
|
|
|
|
void RegisterController(Type type);
|
|
|
|
|
}
|
|
|
|
|
}
|