Ejemplo n.º 1
0
        public LifetimeManager CreateLifetimeManager(TypeMapping typeMapping)
        {
            var customLifetimeManager = configurationDetails.IsMarkedWithCustomLifetimeManager(typeMapping.From);

            return(customLifetimeManager.Item1 ? customLifetimeManager.Item2 : new TransientLifetimeManager());
        }