Well, this question is pretty simply stated by the title.
For a local variable factory
:
var factory = Fluently.Configure()
...
Are these two lines equivalent:
Bind<ISessionFactory>().ToConstant(factory).InSingletonScope();
and:
Bind<ISessionFactory>().ToConstant(factory);