Is Kernel.Get<T>() threadsafe + good pattern to share the kernel among components
问题 Is Kernel.Get() threadsafe? My goal is share an instance of my kernel among all my componenets and they may all very well call Kernel.Get() at the same time on different threads. Is Kernel.Get() thread safe? What is the best pattern to share the application kernel among all application components which are sitting in different dll's? I prefer not to pass an instance of a factory to every component of my application if this makes sense. 回答1: Get is threadsafe but creating new kernel instances