public void RegisterEventBus <T>() where T : IEventBus { var eventBusDependencyRegister = new EventBusDependencyRegister(UnityContainer); eventBusDependencyRegister.Register(typeof(IEventBus), typeof(T)); }
public void RegisterEventBus(params Assembly[] assemblies) { var eventBusDependencyRegister = new EventBusDependencyRegister(UnityContainer, assemblies); eventBusDependencyRegister.Register(); }