Using a selector for simple dispatch.
将选择器用于简单的分派。
什么是选择器?
Exercise 1: Simple dispatch using a selector.
练习1:使用选择器的简单分派。
Figure 6 shows how we would create such a selector.
图6展示了如何创建这样的选择器。
A CSS rule consists of a selector and a declaration block.
CSS规则由一个选择符和一个声明块组成。
Create a selector for view factories: impacts on testability.
创建一个试图工厂选择器:影响现有的测试性。
In this section, you add a selector to an existing application.
在本部分中,您将把选择器添加到现有应用程序中。
Switch back to your assembly diagram and create a Selector component.
切换回组装关系图并创建一个选择器组件。
You can call a selector from any of your service-oriented components.
您可以从任何面向服务的组件调用选择器。
As mentioned earlier, the load has a selector to gather files from the Slots.
前面曾经提过,加载有一个选择器,用于从数据槽收集文件。
When a selector is provided, items matching the selector will be removed.
如果提供了一个选择器,那么只移除与选择器匹配的项。
We have covered how you can use a selector in a simple dispatch scenario.
我们向您介绍了如何在简单的分派场景中使用选择器。
You use a selector to invoke different service implementations based on a date.
可以使用选择器来根据日期调用不同的服务实现。
You select a destination in a selector the same as your would for a rule group.
您在选择器中选择的目标与为规则组中选择的相同。
The simplest way to create a Selector is to use the open method, as shown below.
创建Selector最简单的办法是使用open方法,如下所示。
The display should now update to one that includes a selector for the organization.
屏幕现在应该会更新,会增加选择组织的控件(图 8)。
In keeping with the Reactor pattern, a Selector class is a multiplexor of Channels.
与反应器模式一致,Selector类是Channel的多路复用器。
The elements of the document tree that match a selector are called subjects of the selector.
文档树中匹配一个选择符的元素称为那个选择符的主题。
A selector consisting of a single simple selector matches any element satisfying its requirements.
包含一个简单选择符的选择符,匹配任意符合它要求的元素。
Later in the article, you will try this out by creating a selector that performs a simple dispatch.
在本文的稍后部分中,您将通过创建执行简单分派的选择器来尝试此操作。
Like a rule group, a selector has date range entries, selection criteria, and a default destination.
与规则组一样,选择器拥有日期范围条目、选择条件和缺省目标。
In other words, a selector can dynamically re-route a service call to any other component at runtime.
换句话说,选择器在运行时可以将服务调用动态地重新路由到任何其他组件。
In exercise 1, you will create a selector that has one default destination and two date range destinations.
在练习1中,您将创建一个具有一个缺省目标和两个日期范围目标的选择器。
A selector allows you to provide two destinations and indicate that the new one takes effect on January 1.
选择器允许您提供两个目标,并指示新的目标在1月1日生效。
An event group profile object defines a selector string which determines which events belong to this group.
事件组概要对象定义了选择器(selector)字符串来决定哪些事件属于这个组。
That is, when a selector is invoked, it selects a destination using the selection criteria and date range entries.
也就是说,当您调用某个选择器时,它使用选择条件和日期范围条目来选择目标。
For example, Figure 4 shows a selector that can choose from two Web service imports, each having a different interface.
例如,图4显示了可以从两个Web服务导入选择的选择器,每个Web服务导入具有不同的接口。
The invoke Credit Checking Service activity calls a selector that will decide at runtime which implementation to invoke.
InvokeCreditCheckingService活动调用选择器,决定在运行时调用哪一个实现。
A selector is a dispatch pattern you use to dynamically determine which implementation of a component to invoke at runtime.
选择器是一种分派模式,用于动态确定在运行时调用哪一个组件的实现。
This works just like a normal Ajax.load , but you just specify a selector immediately following the URL that you're retrieving.
这项工作就像一个普通的Ajax .load,但是你只需在你所获取的URL之后指定一个选择器即可。
应用推荐