| 79 | protected: |
| 80 | template <class T> |
| 81 | IFactoryObjectCreator<TProduct, TArgs...>* GetCreator(const T& key) const { |
| 82 | TReadGuard guard(CreatorsLock); |
| 83 | typename ICreators::const_iterator i = Creators.find(key); |
| 84 | return i == Creators.end() ? nullptr : i->second.Get(); |
| 85 | } |
| 86 | |
| 87 | template <class T> |
| 88 | bool HasImpl(const T& key) const { |