Esempio n. 1
0
        public void RegisterEventBus <T>() where T : IEventBus
        {
            var eventBusDependencyRegister = new EventBusDependencyRegister(UnityContainer);

            eventBusDependencyRegister.Register(typeof(IEventBus), typeof(T));
        }
Esempio n. 2
0
        public void RegisterEventBus(params Assembly[] assemblies)
        {
            var eventBusDependencyRegister = new EventBusDependencyRegister(UnityContainer, assemblies);

            eventBusDependencyRegister.Register();
        }