However, the right thing to do is to refactor the code and relocate the object declaration.
然而,正确的做法是重构的代码和搬迁对象的声明。
This is a Scala singleton because it USES the object declaration instead of a class declaration.
这是一个Scala单例(singleton),因为它使用对象声明,而不是类声明。
With PHP V5, however, you can build object type checking right into the class or method declaration.
但是,如果使用PHPV5 的话,可以将对象类型检查构建到类或方法声明中。
The return type of the method declaration indicates in what object format the results of the SQL statement will be returned.
方法声明的返回类型表明sql语句的结果返回什么样的对象格式。
Another approach is to write a method nested in the tag declaration of an object and assign the event handler to the event attribute of that method.
另一种方法是编写一个方法,将该方法嵌入在对象的标记声明中,并将事件处理程序赋给那个方法的event属性。
The object is reinitialized each time its declaration is reached, so it's safe with functions (such as some versions of select) that may modify the corresponding object.
每一次运行到对象的声明时它会被初始化,所以使用可能会修改相应对象的函数(比如一些版本的select )时这样做是安全的。
The declaration begins with the global reference to the Flex application, then a method call that always begins with the string get followed by the ID of the target object.
该声明首先是Flex应用程序的全局引用,然后是始终以字符串get 为开头、后接目标对象ID的方法调用。
How to correctly pad an object after creation without modifying the class declaration?
如何正确地垫一个对象而不必修改类的声明后的创作?
The global declaration lets the rules engine know that an object should be accessible from within your rules but that it should not be part of the knowledge used to evaluate the rules' conditions.
global声明让规则引擎知道,某个对象应该可以从规则中访问,但该对象不应是用于对规则条件求值的知识的一部分。
Programming languages can separate the declaration of functions (or methods in an object-oriented language) from their invocation.
编程语言能够将对函数(或在面向对象语言中的方法)的声明从其调用中分离出来。
Declaration of variables and object instantiation for nested types should not be required in common scenarios.
在常见方案中,不应要求对嵌套类型进行变量声明和对象实例化。
The interface to an anonymous object is published through a protocol declaration.
匿名对象的接口通过一个协议声明被发布。
If, based on the reservation of title, Mentor takes back the delivery object, the contract will only be deemed to have been repudiated if Mentor makes an explicit declaration in this regard.
如果在保留产品所有权的基础上,门拓将所运物品取回,合同只有在门拓清楚申明的情况下才会被认为是否决。
A solemn, formal declaration or promise to fulfill a pledge, often calling on God or a sacred object as witness.
庄严正式地宣布或许诺履行某一誓言,通常以上帝或圣物为见证者。
A variable is introduced by the declaration of an object.
变量由对对象的声明引入。
Query expressions make frequent use of anonymous types, which can only be initialized by using an object initializer, as shown in the following declaration.
查询运算式经常使用匿名型别,此型别只能使用物件初始化设定式初始化,如下列宣告所示。
The result of each declaration in the procedure is equivalent to the following example, which does not use an object initializer.
此程序中的每项宣告结果都符合下列不使用物件初始设定式的范例。
The result of each declaration in the procedure is equivalent to the following example, which does not use an object initializer.
此程序中的每项宣告结果都符合下列不使用物件初始设定式的范例。
应用推荐