Getting rid of the lookup code should sound familiar: this is effectively injection of the dependency on the type being advised!
去掉查找的代码应该听起来很熟悉:这是对被通知的类型的依赖有效的注入!
It relates a lookup token to code-sometimes called a "recipe" -that can create a dependency value.
它把一个查找令牌和代码(有时也叫“配方”)关联到一起,以便创建依赖值。
应用推荐