Are these equivalent syntaxes for setting component lifestyle?
Component.For<IFoo>()
.ImplementedBy<Foo>()
.LifeStyle.Is(LifestyleType.Transient)
Component.For<IBar>()
.ImplementedBy<Bar>()
.LifeStyle.Transient
Are these equivalent syntaxes for setting component lifestyle?
Component.For<IFoo>()
.ImplementedBy<Foo>()
.LifeStyle.Is(LifestyleType.Transient)
Component.For<IBar>()
.ImplementedBy<Bar>()
.LifeStyle.Transient
Yes, they are.
Until there's a complete documentation on the fluent interface, the best source for information is the tests.
Another source of information is this wiki page.