Note that the advice is a plain method declaration.
请注意通知就是普通的方法声明。
Attributes can be applied to any method declaration.
可以将特性应用于任何方法声明。
You can remove parameters from a method declaration or a method call.
可以从方法声明或方法调用中移除参数。
You can reorder parameters from a method declaration or a method call.
您可以从方法宣告或方法呼叫中重新排列参数。
Changing whether a property or method declaration implements an interface.
更改属性或方法声明是否实现接口。
File Name lists only the file that contains the partial method declaration.
“文件名”仅列出了包含分部方法声明的文件。
You then need to add a method declaration for invoke so that the class compiles.
然后需要为invoke添加方法声明以便类进行编译。
Method declaration information cannot be modified by the implementing class.
实作的类别无法修改方法宣告资讯。
Position the cursor in the method declaration or delegate name and invoke Remove Parameters.
请将光标置于方法声明或委托名称中,然后调用“移除参数”。
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语句的结果返回什么样的对象格式。
In this case, for every matching method declaration (the finalize method), a result is created where the name is highlighted.
在这种情况下,对于每一个匹配的方法声明来说(finalize方法),被创建的结果的名称都将被突出。
In AspectJ, an inter-type method declaration looks almost identical to a normal method declaration and is referred to in the same way.
在AspectJ 中,类型间方法声明看起来就像正常的方法声明,引用的技术也一样。
You can modify the visibility of methods in the same way as properties, adding public, private, or protected to the method declaration.
修改方法可见度的方法与修改属性可见度的方法一样,即在方法声明中添加public、private或protected。
Typically this exception is thrown from the function body of an abstract method declaration or from an interface method declaration.
通常从抽象方法声明的函数体或接口方法声明中引发此异常。
In Figure 7, the only legitimate member variables are the ones that appear just above the method declaration, namely @name, @salary, and @hire_year.
在图7 中,合法的成员变量只是在上面方法声明中出现的成员变量,即 @name、@salary 和 @hire_year。
The body of a method declaration is made up of statements, which can be any kind of action (for example: for statement, if statement, or expression).
一个方法声明的程序体是由语句组成的,语句可以是任何类型的行为(例如:for语句、if语句、or表达式)。
When a base type is specified as a parameter in a method declaration, any type derived from the base type can be passed as the corresponding argument to the method.
如果一个方法的参数使用基类型,可以使用任何一个继承自这个基类型的类型作为参数调用这个函数。
When a base type is specified as a parameter in a method declaration, any type that is derived from the base type can be passed as the corresponding argument to the method.
当方法宣告将基底型别指定为参数,则从此基底型别衍生的任何型别都可以当做对应引数传递给方法。
Like a local variable declaration in many languages, a nested method is only visible inside the enclosing method.
就像很多语言中声明局部变量一样,一个嵌套方法尽在方法内部可见。
If this is the implementation pass, output the complete declaration and method body where appropriate (following).
如果这是实现部分,那么输出完整的声明和适当位置的方法体(下面的部分)。
Listing 9. Declaration of the it method.
清单9.it方法的声明。
Listing 4. Declaration of the accept method.
清单4.accept方法的声明。
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属性。
You can create a new submit button on a form and link the button to a method on your Page class using the declaration shown in Listing 2.
可以在表单上创建新的提交按钮并把它链接到page类中的一个方法,使用的声明见清单2。
Implementation hierarchy works the same way in Scala: We can apply final to the method to prevent a child class from overriding it or to the class declaration itself to prevent derivatives.
实现层次结构在Scala中的效果是相同的:我们可以向方法应用final来防止子类覆盖它,也可应用于类声明本身来防止继承。
You must understand how anonymous inner classes work (the inline declaration of the Command subclass) and understand the implications of the execute method.
您必须理解匿名内联类是如何工作的(Command子类的内联声明),并理解execute方法的含义。
Each declaration is actually calling a method named Value that takes a string argument.
每一个声明实际上都调用了一个名为Value的方法,它接受一个字符串参数。
These values are declared at the top of the class declaration, and are initialized in the initialize method.
这些值在类声明顶部声明,并在initialize方法中初始化。
Listing 4 shows the declaration of the accept method from ace/include/SOCK_Acceptor.h.
清单4给出ace/include/SOCK_Acceptor.h 中accept方法的声明。
应用推荐