我最近一直试图使用https://github.com/ybainier/Hypodermic在C++上进行依赖注入.但是,我无法找到它是否支持AutoFac的OnActivating事件:
builder.RegisterInstance(instance).OnActivating(MyLambdaHere)
Hypodermic有没有办法模仿这个功能?
c++ dependency-injection hypodermic
c++ ×1
dependency-injection ×1
hypodermic ×1