17 lines
307 B
C#
17 lines
307 B
C#
using System;
|
|
|
|
namespace Tapeti
|
|
{
|
|
public interface IDependencyResolver
|
|
{
|
|
T Resolve<T>() where T : class;
|
|
}
|
|
|
|
|
|
public interface IDependencyInjector : IDependencyResolver
|
|
{
|
|
void RegisterPublisher(IPublisher publisher);
|
|
void RegisterController(Type type);
|
|
}
|
|
}
|