Specify constraints for method parameters
为方法参数指定约束条件
Method parameters: (a calendar algorithm).
方法参数:(一种日历算法)。
Action-Method Parameters now support default values.
Action方法的参数可以支持默认值。
Method parameters (and variables) are also editable.
方法参数(变量)都还可以。
The method parameters and return types must be serializable.
方法参数和返回类型必须是可序列化的。
You can do this by defining the method parameters as interfaces.
为此,可以将方法参数定义为接口。
However, type annotations are required for all method parameters.
然而,对于所有的方法参数来说,类型注解是必须的。
The dependency methods define the method parameters as interfaces.
依赖项方法将方法参数定义成接口。
Injecting elements from the URI or the HTTP header as method parameters.
将来自uri或HTTP头部的元素作为方法参数注入。
To specify preconditions for a method with OVal, you must annotate method parameters.
用OVal为方法指定前置条件必须对方法参数进行标注。
Method parameters and return values are serialized over RMI-IIOP and returned by value.
方法参数和返回值将在RMI - IIOP上序列化,并由值返回。
A delegate invocation USES the name of a delegate and method parameters in parenthesis.
委托调用使用委托的名称和括号内的方法参数。
I changed the reuse mechanism from protected field via inheritance to method parameters.
我将重用机制从protectedfieldviainheritance更改为method parameters。
Easy mapping of parameters and other client data to typed method parameters and class members.
键入的方法参数和类成员上。
In Web service parlance, data is called messages that are part of method parameters or return types.
对Web服务而言,数据也可称为消息,是方法参数或返回类型的一部分。
You apply them to method parameters when you want to alter the default behavior of the marshaler.
可以在希望改变封送拆收器的默认行为时将它们应用于方法参数。
Some languages provide keywords that enable you to modify the directional flow of method parameters.
某些语言提供使您能够修改方法参数的方向流的关键字。
The mapping file allows you to customize bean and method names as well as method parameters and return types.
映射文件允许定制bean、方法名称、方法参数和返回类型。
This article focuses not on the component but on the method parameters of operations that a component provides.
本文并不关注组件,而是关注组件提供的操作的方法参数。
If the parameters are given as a list surrounded by parentheses, they must exactly match the method parameters.
如果所给的参数是圆括号括起的列表,它们必须精确匹配方法参数。
These method parameters are defined as value objects; that is, objects with no logic that hold only data values.
这些方法参数定义成值对象,即不含逻辑只含数据值的对象。
We can use argument binding to bind method parameters, return types and exceptions as well as targets if we wish.
我们可以使用参数绑定来绑定方法参数,返回类型和异常,以及我们希望的目标。
Using interfaces as method parameters is (in IoC terms) a form of context IoC, applied on a dependency of the caller.
使用接口作为方法参数是上下文IoC的一种形式(这是ioc术语),应用于调用程序的依赖项。
It will first validate method parameters upon a method invocation and then delegate the method call to the implementation class.
它首先验证方法调用的方法参数,然后把方法调用委托给实现类。
If so, the transaction id, or Xid, is propagated to the remote object as part of the IIOP call along with the method parameters.
如果是,事务标识,或者说Xid,被作为IIOP调用的一部分与方法参数一起传播到远程对象。
Are classes declared as value types only infrequently used as method parameters, returned from methods or stored in Collections?
值类型的类用于参数,方法返回值以及存放在集合中?
Take a look at the dependency graph for a typical setup of a component with two dependencies and the method parameters used (see Figure 1).
请看下图,这是典型的组件设置的依赖关系图,其中有两个依赖关系并使用了方法参数(参见图1)。
Methods are discussed in Chapter 9, and the signature is the combination of the return type and the type and order of the method parameters.
方法在第9章讨论过,而方法签名是方法的返回类型和方法参数的类型及其顺序的组合。
Here, we'll look at the approaches for getting input for your action methods, focusing on using context objects and action method parameters.
以下,我们将考查为动作方法获取输入的途径,关注于使用上下文对象以及动作方法参数。
In a classic design, value objects or data transfer objects in those methods are used as method parameters and return values when complex objects are required.
在经典的设计中,这些方法中的值对象或数据传输对象用作方法参数并在需要复杂对象时返回值。
应用推荐