我想做到这一点的存储库模式方式,因为它变得更容易进行单元测试即可。
I would like to do this in the repository pattern way as it gets easier to unit test it then.
设置与指定控件关联的工具提示文本,然后在指定的相对位置以模式方式显示该工具提示。
Sets the ToolTip text associated with the specified control, and then displays the ToolTip modally at the specified relative position.
对整个系统的软件进行了设计,主要包括自动模式方式下的动作流程及手动模式下的控制方法。
And the software design of the whole control system mainly includes the action processes in auto mode and the control methods in manual mode.
思考模式的一种方式是将其当作经验丰富的从业者的建议,除非建议碰巧出现在了正式的出版物中。
One way of thinking of patterns is as bits of advice from experienced practitioners, except that advice happens to be documented in a formal publication.
如果你的目标是要有标准化的学习方法,让每个人在同一时间以同样的方式学习同样的东西,那么通过实践来学习其实已经不符合这个模式了。
If your goal is to have standardized approaches to learning, where everybody learns the same thing at the same time in the same way, then learning by doing doesn't really fit that mold anymore.
“当人们进入这种思维模式时,”肯德尔·泰勒说,“在认知上,用这种方式来理解贫困问题就会让人心安理得。”
"When people enter into that pattfern of thinking,"says Kendall Taylor, "it's cognitively comfortable to make sense of issues of poverty in that way.
用比喻的方式,并列的术语隐含着它们所指称的存在的具体或本质的特征,引入了一种诗歌的模式作为习惯性的表达形式。
Used metaphorically, the juxtaposed terms connote specific or essential traits of the being they refer to, introducing a mode of poetry as an almost habitual form of expression.
该零售模式是为对越来越多网络相关工具有上升性使用需求的人设计的,目的是改变他们的搜索、购物和购买方式。
It is about devising retail models that work for people who are making increasing use of a growing array of internet-connected tools to change how they search, shop, and buy.
没有数据被复制,而除了在只读模式下运行外,百科全书会按照一贯的方式工作。
No data has been duplicated, and the encyclopedia will work as it always has, except in a read-only mode.
通过这种方式,使用模式的任何人都可以确保实现一致的、可重复的部署。
In this way, you can ensure a consistent, repeatable deployment by anyone who USES the pattern.
以下代码显示了在 C# 中实现该模式的一个方式。
The following code shows one way to implement this pattern in C#.
因此如何实现这些模式是有各种不同的方式的。
Thus there will be different ways in which those patterns get implemented.
可以使用迭代的方式开发模式。
TE:一种看待模式的方式是把它们当作经验丰富的从业者的一些建议,只不过这些建议碰巧出现在了正式的出版物中。
Te: one way of thinking of patterns is as bits of advice from experienced practitioners, except that they happen to be documented in a formal publication.
人人都有惰性,惰性会阻挡改变的发生,尤其是那些会打乱我们生活模式和思维方式的重大改变。
We all have inertia - that resistance to change, especially major change that disrupts our living patterns or way of thinking.
路由、转换和规范化也可以采用与扩展服务虚拟化相同的方式对此模式进行扩展。
Routing, transformation and normalisation may also extend this pattern in the same way as the service virtualisation was extended.
捕捉惯用模式最简单的方式就是将它们作为自身的API或框架予以提取。
The easiest way to capture idiomatic patterns is to extract them as their own API or framework.
因此,技术和管理及治理资产的技术,以及可重复的为组合资产而获取模式的方式很重要。
As a result, technologies and techniques for management and governance of assets, and repeatable ways to capture patterns for combining assets, become much more important.
稍后我们将详细说明各种授权模式或方式,但首先我们将对其做一个简要的总结。
We will detail a variety of patterns or styles of authorization later, but we will quickly summarize them here.
如果重用的需求不是十分迫切,那么用这种方式编写模式是完全合理的。
If the need for reuse is not great, it's completely logical to write schemas this way.
它不是代码生成器,而是一些面向常用编码模式的快捷方式。
They are not code generators per se, but rather just short cuts for common coding patterns.
因为还有更好的方式在模式中定义扩展,比如重定义,所以这种方法似乎有点麻烦。
There are better ways to define extensions within schema -- such as redefines -- which make this approach seem a bit burdensome.
可以将快速模式视为低级的3d功能实现方式,保留模式显示3d图像的方式更为抽象,令人感觉也更要舒服一些。
You can imagine immediate mode as the low-level access to 3d functions, and retained mode as a more abstract, but also more comfortable, way of displaying 3d graphics.
图2显示了如何用这种方式分隔模式来模拟软件包。
Figure 2 shows how schemas can be separated to simulate software packages in this way.
复合模式中的参数以两种方式委托给组件模式操作。
The parameters in the composed pattern delegate their operations to those of the component patterns in two ways.
总之,这种Schematron设备将让您重新考虑更好的XML模式设计方式。
Overall, this Schematron device could make you rethink the way you design XML schemata — all for the better.
JPAManagerBeans提供的外观模式,用于服务方式。
A facade pattern provided by JPA Manager Beans, which is used in a service approach.
三种不同的模式设计方式以及实现这三种模式的一些技巧。
The three different schema design approaches, and some techniques for implementing the three approaches.
三种不同的模式设计方式以及实现这三种模式的一些技巧。
The three different schema design approaches, and some techniques for implementing the three approaches.
应用推荐