In some situations, you can use the Preferred Data Source Pattern recursively.
在某些情况下,您可以递归地使用首选数据源模式。
Use the adapter pattern when you need to convert an object of one type to an object of another type.
在需要将一类对象转换成另一类对象时,请使用适配器模式。
Pattern templates often use iteration and filtering techniques to correctly generate artifacts.
模式模板通常使用迭代和筛选技术来正确地生成构件。
Use of Dojo widget and template pattern.
Dojo小部件和模板模式的使用。
Use of the service locator design pattern to simplify lookup code.
使用服务定位器设计模式来简化代码。
Finally, we can use pattern matching to pull out the elements from a list or tuple using the construct notation mentioned earlier.
最后,可以按前面提到的构造表示方法,使用模式匹配从列表或元组中提取元素。
There are a number of ways to do this, but you will demonstrate how you can once again use pattern matching for this.
实现上述操作有许多方法,但我们将演示如何再一次使用模式匹配方法。
The next two lines use pattern matching to pick off the values required to enforce this rule when the returned function is actually executed.
接下来两行用模式匹配摘出实施规则所必需的数据。
We usually use this pattern when the question that you're asking about relates directly to the person you're speaking with.
当你问的问题与谈话的人直接相关时,我们通常会用这种方式。
A link is provided if you want to use that pattern.
可以通过提供的链接使用这个模式。
You don't use design pattern names when talking and would rather talk about implementation.
在交谈中不使用设计模式名而宁愿谈论实现。
I use this pattern frequently and find that it helps me better separate the concerns between the components.
我经常使用这种模式,并发现借助它可以更好地分离组件之间的关注点。
The original application did not use the MVC pattern.
原有的应用程序不使用mvc模式。
You can use this pattern at the end of any sequence match to remove length as a condition.
你可以在任何序列匹配的最后使用这个模式来解除长度制约。
You can use this pattern in production (and some users do), but the target environment is development.
您可以在生产环境中使用此模式(某些用户会这样做),但是目标环境是开发。
When you would use an adapter pattern.
何时需要使用适配器模式。
I'm not advocating that you write down every time that you use a pattern in your work.
我并不是建议在工作中每次使用模式时都进行记录。
The common lookup code that we factored must be duplicated in every client where we want to use this pattern.
必须将这种分解后的常用查找代码复制到使用这种模式的每个客户端上。
We will use this pattern later to set up timer events to happen in "bursts."
我们将稍后使用这个模式来设置“突发的”计时器事件。
The best solution for loading extension points is to use the proxy pattern.
加载扩展点的最佳解决方案是使用代理模式。
Through this functionality, you can use the popular singleton pattern.
通过使用这种功能,您可以使用流行的单例模式。
These are implementation details that make it easier to use the MVVM pattern.
这些都是更容易使用MVVM模式的实现细节。
Finally, it discusses several modifications and use cases of this pattern.
最后,本文讨论了此模式的一些修改版本和使用情况。
Ensures consistent use of the design pattern.
保证设计模式使用的一致性。
The previous example prompted the user for a search pattern to use.
前一个示例提示用户输入要使用的搜索模式。
You can use the pattern matching in Erlang so that a path on one side triggers a specific response.
您可以使用Erlang中的模式匹配,因此一端的路径可触发特定响应。
We can use a pattern called Double Dispatch to pull out the variation into the subclasses in such a way that we don't break existing interface contracts.
我们可以使用称为双重分发的模式将变化推入子类中,通过这种方式,我们不需要破坏现有的接口定义。
Implementations that use this pattern are not only insulated from the specifics of container or framework APIs, but they are also insulated from endpoint configuration.
使用此模式的实现不仅与容器或框架API的细节隔离,而且还与端点配置隔离。
It is surprisingly simple: the name itself differs, so we can use a simple pattern match on the name field.
令人惊奇的简单:只是名字上的区别,所以我们可在NAME域上使用一个简单的模式匹配。
For a more complicated pattern, you can use special characters as placeholders.
对于更复杂的模式,您可以使用特殊字符作为占位符。
应用推荐