有两种类型的名词修饰语,即前置修饰语和后置修饰语。
There are two types of adnominal modifiers, the prenominal and postnominal modifiers.
合同包括不变量,先决条件和后置条件。
The contract includes invariants, preconditions, and post conditions.
后置条件:执行外部组件后的预期结果。
Post-conditions: Expected results after the execution of the external component.
透明性:前置和后置条件代码不与业务逻辑混合。
Transparency: The pre - and post-condition code isn't mixed with business logic.
后置条件测试通常用方法返回值的断言来表示。
Postconditions are often expressed as assertions about method return values.
同样也可以在代码后置文件中来关联事件处理方法。
You can also associate an event with its event handler in the code-behind. The following code shows how to do this in C#.
当方法结束时,后置条件表示其结果需要满足的契约。
Postconditions are contracts to be met when a methods ends, and are specified with Contract.Ensures() as in the next example
同样,后置条件测试大致与after建议对应。
Similarly, postcondition tests correspond roughly to after advice.
可以将断言语句作为方法的前置条件或后置条件来添加。
You can add assertion statements as the pre- or post-conditions of a method.
如果该模式指定前置负号为负输入,后置负号将被忽略。
If the pattern specifies a leading minus sign for negative input, a trailing minus sign is ignored.
特别是后置摄像头,因为前置摄像头至少还可以用来视频聊天。
That’s especially true for the rear camera, since at least the front one can be used for video chatting.
八百万后置摄像头(1080p视频)+VGA前置摄像头
MP Rear-Facing (1080p Video Capture) + VGA Front-Facing Cameras
例如在设计时发现没有足够的空间留给供后置引擎使用的电池。
The designers found that there was no room for the battery in the back with the engine, for example.
iPad2不仅有了前置摄像头,还有了一个后置的高清摄像头。
Not only did the iPad 2 get a front-facing camera, but it got a rear HD-capable camera as well.
在软件开发里,程序员编写前置和后置条件来确立特定软件组件的角色。
In software development, the programmer writes pre - and postconditions in order to establish the role of a particular software component.
前置条件和后置条件方法可以看到作为函数参数 (args)传递的值。
The pre-condition and post-condition methods can also see the values passed as function arguments (args).
生成的实体文件作为和他们相关的自定义实体文件的后置代码文件被添加到项目里。
Generated entity files are added to the project as code behind files to their corresponding custom entity files.
后置条件测试确保组件完成操作的时候结果符合要求,假设前置条件已经满足。
Postcondition tests are guarantees that the component promises to satisfy when it completes the operation, assuming the preconditions are met.
例如,用例的前置及后置条件、输入和输出定义服务依赖关系、边界和数据要求。
For example, the pre - and post-conditions, inputs, and outputs of the use case define the service dependencies, boundary, and data requirements.
首先,把洋葱在日光下晾晒一到数天,然后置于阳光无法直射的地方阴干两到三周。
First, dry the Onions in the sun for a day or so. Then bring them out of direct sun for two to three weeks.
正如您可以从本文样例文件(参见下载)看到的,一种类似的方法定义了后置条件和不变式。
As you can see from the sample files that accompany this article (see Download), a similar approach defines post-conditions and invariants.
为了能够表达消息的语义,以及它们对系统状态的影响,我们引入了前置条件和后置条件。
To be able to express semantics of messages and their effects on system state we introduced pre- and postconditions.
不同寻常的是,HPTouchPad没有后置摄像头,只有130万像素的前置摄像头。
Unusually, the HP TouchPad doesn't have a rear camera, only a front-facing 1.3 megapixel one.
类似地,在函数的末尾,如果您知道应该有某些后置条件,那就编写对应于各项条件的断言。
Similarly, at the end of the function, if you know that there are certain post-conditions that should hold, write assertions corresponding to each.
更高效的视图创建和绑定,包括没有后置代码(Code -Behind)的视图文件。
Streamlined View creation and binding, including Views without code-behind files.
ipad2使用了一枚VGA的前置摄像头和一个可以拍摄720p视频的HD高清后置摄像头。
IPad 2 USES a VGA-capable camera on the front and a "HD" camera that can do 720p video in the rear.
这个硅胶的iPad保护套在背面上方有个给后置摄像头的开口,背面下方还有喇叭的栅状开口。
The silicon iPad case shows a space for a rear-facing camera at the top, and a speaker grille on the bottom rear side.
我们可以看到所有前导空格或后置空格已被删除,然后+号被转义以删除用正则表达式搜索的潜在干扰。
We can see that any leading or trailing Spaces are removed, then the + signs are escaped to remove potential interference with the regular-expression search.
我们可以看到所有前导空格或后置空格已被删除,然后+号被转义以删除用正则表达式搜索的潜在干扰。
We can see that any leading or trailing Spaces are removed, then the + signs are escaped to remove potential interference with the regular-expression search.
应用推荐