public LifetimeManager CreateLifetimeManager(TypeMapping typeMapping) { var customLifetimeManager = configurationDetails.IsMarkedWithCustomLifetimeManager(typeMapping.From); return(customLifetimeManager.Item1 ? customLifetimeManager.Item2 : new TransientLifetimeManager()); }