¿Are Unity auto factories thread-safe?

Sep 28, 2010 at 2:35 PM

When i do this

Func<IFoo> foFactory = container.Resolve<Func<IFoo>>();

and later i do

IFoo foo = foFactory();

is the call to foFactory() thread-safe?

Sep 28, 2010 at 8:27 PM

Yes.

Really not anything more to say. :-)