Beispiel #1
0
        public void RegisterTypes(ICoordinator coordinator)
        {
            _container.Register <ICoordinator>(coordinator)
            .WhenInjectedInto(typeof(IController))     // can only be injected into IController
            .In(Lifetime.Container());

            var module = new RegistrationModlule(coordinator.PairManager.ViewControllerPairs);

            _container.RegisterModule(module);
        }