定义一个构造器函数来初始所需的数据。
Define a constructor function which initializes the required data.
配置传递给构造函数的记录器的内容不属于本文讨论范围。
Configuration of the logger passed to the constructor is beyond the scope of this article.
站点构造函数采用设计器宿主和组件,以便可以建立图2中所示的组件-容器关系。
The site constructor takes the designer host and the component so that it can establish the component-container relationship shown in Figure 2.
应用推荐