Take a look at the dependency graph for a typical setup of a component with two dependencies and the method parameters used (see Figure 1).
请看下图,这是典型的组件设置的依赖关系图,其中有两个依赖关系并使用了方法参数(参见图1)。
The component will take in a data object with an ID and name, and then return another data object containing a credit score and credit limit.
该组件接收一个具有 ID 和名称的数据对象,然后返回另一个包含信用分数和信用额度的数据对象。
If you're wondering how the component is associated with the renderer, simply take a look at Figure 6.
如果想知道如何把组件和渲染器关联,那么只要看看图6即可。
应用推荐