I discussed the motivation and definition of di and showed an example of how a container can inject dependencies from one component into another.
我讨论了DI的动机和定义,并用一个示例,演示了容器如何可以把依赖项从一个组件注入到另一个组件。
Listing 4 shows the code for this example event definition.
清单4展示这个示例事件定义的代码。
Listing 3 shows the code for this example event definition.
清单3展示这个示例事件定义的代码。
Listing 5 shows the code for this example event definition.
清单5展示了这个示例事件定义的代码。
Listing 6 shows the code for this example event definition.
清单6展示了这个示例事件定义的代码。
Listing 2 shows the code for this example event definition.
清单2展示了这个示例事件定义的代码。
The following example illustrates adding a column to a replicate definition.
下面的例子说明了如何添加一个列到复制定义。
Start with the input to the generator. Listing 1 provides an example of a table definition for a simple book database.
首先从生成器的输入开始,清单1为一个简单的图书数据库提供了表定义的例子。
Figure 6 shows an example of a dynamic alert definition.
图6显示了一个动态警报定义的示例。
Given the example type definition in Listing 8, you can define the contents of elements that contain person name information.
假如采用清单8中的示例类型定义,您可以定义包含个人姓名信息的元素的内容。
Listing 2 contains an example of a service link type definition.
清单2中有一个服务链接类型定义的示例。
The handler definition file in the example scenario is shown in Listing 3.
这个示例场景中的处理程序定义文件如 清单3 所示。
By title and definition, this is a simple example.
从标题和定义可以看出,这是一个简单的示例。
Listing 8 shows the complete example of a command definition file that has both the admin command and task command.
清单8显示了命令定义文件的完整示例,它包含管理命令和任务命令。
Following this example, let's look at a practical heuristic definition of a state machine.
在以下这个例子中,我们将研究状态机的真正探索性定义。
Listing 2 is an example of an extension point definition.
代码行2是一个扩展点定义的范例。
The code in Listing 5 is an example of a model definition.
清单5中的代码是一个示例模型定义。
In perhaps the most striking example of social engineering, a new definition of masculinity is emerging.
作为社会工程中一个令人瞩目的例子,一个全新的关于男性气概的定义就此诞生。
Typically, this structure is the first element of a user's structure of work definition (you'll see an example of this later).
通常,该结构体是用来进行任务定义的结构体的第一个元素(后面有相关例子)。
An example of policy definition is the WS-Security standard policy grammar for security.
策略定义的一个例子是关于安全的标准策略语法WS - Security。
And the reason I want to use this as an example is, here's my little definition of segment.
我为什么要用这个,做为这个例子的原因是,这是我对于segment的一个小定义。
Figure 1 gives a simple example of how the binding definition is used in the JiBX framework.
图1提供了一个有关如何在JiBX框架中使用绑定定义的简单示例。
The File Create dialog lets you choose your model definition file name, "books" in this example.
对话框允许您选择模型定义文件名称,在此例中为“books”。
Some third-party tags will have unique and specific attributes and possible values, which you can configure using the library definition. As an example.
有一些第三方标签会有独一无二及特定的属性和可能的值,您可以使用库定义对其作出配置。
All a decorator does is let you avoid repeating the method name, and put the decorator near the first mention of the method in its definition. For example.
decorator所做的一切就是使您避免重复使用方法名,并且将decorator放在方法定义中第一处提及其名称的地方。
Listing 1 shows an example of the definition for the Configuring subject.
清单1显示了Configuring主题的定义示例。
In a sense, these groups represent specific roles in your project definition. For example, Figures 1-5 show details about my defined groups.
在某种意义上,这些组代表了你的项目定义中的特定角色。
One way to resolve the error is to add a root element as part of the view definition. For example, you can define the following view on the Oracle data source.
解决此错误的一种方式是添加作为视图定义一部分的root元素。
For example, you could create another endpoint with the new WSDL definition.
例如,您可以用新的WSDL定义创建另外一个端点。
For example, you may find the above definition too technical.
例如,您可能会认为上述定义过于偏重于技术。
应用推荐