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的动机和定义,并用一个示例,演示了容器如何可以把依赖项从一个组件注入到另一个组件。
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为一个简单的图书数据库提供了表定义的例子。
Given the example type definition in Listing 8, you can define the contents of elements that contain person name information.
假如采用清单8中的示例类型定义,您可以定义包含个人姓名信息的元素的内容。
Listing 8 shows the complete example of a command definition file that has both the admin command and task command.
清单8显示了命令定义文件的完整示例,它包含管理命令和任务命令。
In this example exercise, you can see how the workload definition dramatically affects the amount of hardware resources required to support a fixed user population.
在本示例练习中,可以看到负载定义如何显著影响支持固定用户数所需的硬件资源量。
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).
通常,该结构体是用来进行任务定义的结构体的第一个元素(后面有相关例子)。
And the reason I want to use this as an example is, here's my little definition of segment.
我为什么要用这个,做为这个例子的原因是,这是我对于segment的一个小定义。
Figure 12 shows an example of a service reference definition for the Stock Quote service described in the previous section.
图12显示了一个在前面部分中描述的StockQuote服务的服务引用定义的示例。
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”。
You can use the ESQL in the following example to create the namespace prefix definition for ns1.
可以使用下面的示例中的ESQL来创建ns1的命名空间前缀定义。
Figure 1 shows an example of a PolicyAttachment linking a service definition in WSDL with a policy.
图1显示了将WSDL中的服务定义与策略链接在一起的PolicyAttachment的示例。
Here is an example (see Listing 1) that shows the definition of a type called Order.
下面是一个示例(请参见清单1)展示了一个名为order类型的定义。
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 practice though, your business partners often provide interfaces for services that you use, for example Web service Definition Language (WSDL) files, so changing them is out of your control.
然而在实践中,您的业务合作伙伴通常为您使用的服务提供接口,例如Web服务定义语言(Web Service Definition Language,WSDL)文件,因此更改它们就不在您的控制之内了。
A process definition contains one main process definition and may contain one or more sub-process definitions. For example.
流程定义中包含一个主流程定义,其中可包含一个或多个子流程定义。
In a sense, these groups represent specific roles in your project definition. For example, Figures 1-5 show details about my defined groups.
在某种意义上,这些组代表了你的项目定义中的特定角色。
This tool converts the a:href url syntax based on the definition of the URL mapping file. For example, the tool converts
该工具基于URL映射文件的定义而转换a:href URL语法。
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, new relationships might be created, or new operations added that conform to the pattern definition.
例如,可能会创建新的关系,或者添加的新的操作将与模式定义保持一致。
A simple approach to customizing the regular expression rules is to copy the complete rule definition of, for example, the URL rule and modify it.
定制正则表达式规则的一种简单方法是复制某个规则(例如url规则)的完整规则定义并修改它。
For example this definition ignores any changes in the unemployment rate or consumer confidence.
比如,这个定义忽略了失业率的变化或是消费信心指数的变化。
Policies can be scoped to various elements of a service definition; for example, to an operation, a message, a particular port, or the entire service.
可以将策略范围界定到某个服务定义的各个元素;例如,界定到某个操作、消息、特定端口或整个服务。
For example, if you feel or are labeled "stupid," reflect on the actual definition of the term.
比如:如果你感觉自己或者被贴上了“笨”的标签,回想下关于“笨”的实际定义。
For lexing purposes, this means that the lexer definition of an integer number, for example, can be used to build the lexer definition of a real number and a fraction.
例如,对于词法分析目的而言,这意味着可以用整数的词法分析器定义来构建实数和分数的词法分析器定义。
That is, an attribute name can have a collection (or list) of associated values; a word item could, for example, have multiple-definition attribute values.
也就是说,一个属性名可以有一个相关值集合(或列表);例如,一个词项目可以有多重定义的属性值。
应用推荐