public void Register(Type componentType, Type implementationType, Lifestyle lifeStyle) { container.Update(c => c.RegisterType(implementationType).As(componentType).WithLifestyle(lifeStyle)); }