A delegate instance may encapsulate either static or instance method.
委派执行个体可封装静态或执行个体方法。
Extension methods are static methods that can be invoked using instance method syntax.
扩展方法是可以通过使用实例方法语法调用的静态方法。
Extension methods are static methods that can be invoked using instance method syntax.
是可以通过使用实例方法语法调用的静态方法。
In addition, once imported, extension methods can be invoked using instance method syntax.
另外,一旦被导入,扩展方法可以使用实例方法语法调用之。
The Log object could require its own initialization, to be performed by an init() instance method.
Log对象可以要求其自己的、由init()实例方法执行的初始化。
A delegate can be implemented using a static method or an instance method; it does not matter.
一位代表可以执行使用静态方法或一个实例方法,它并不重要。
Generally, object references can be obtained by the invocation of a class method or instance method.
一般来讲,可以通过类方法或实例方法的调用来获得对象引用。
Delegates constructed with a named method can encapsulate either a static method or an instance method.
使用命名方法构造的委托可以封装静态方法或实例方法。
Therefore, a static method with the same name as an instance method must have a different parameter list.
因此,一个静态方法如果具有与一个实例方法相同的名称,则必须具有一个不同的参数列表。
A base class access is permitted only in a constructor, an instance method, or an instance property accessor.
基类访问只能在构造函数、实例方法或实例属性访问器中进行。
An instance method declares a parameter or a local variable whose name matches an instance field of the declaring type.
实例方法声明一个名称与声明类型的实例字段匹配的参数或局部变量。
After an extension method is declared and brought into scope, you can call it like an instance method of the type that it extends.
声明扩展方法并将其引入范围中后,可以调用此扩展方法,就像调用它所扩展的类型的实例方法那样。
When an instance method and extension method with the same name are both in scope, the completion list displays the extension method icon.
如果实例方法与同名的扩展方法都在范围内,则完成列表将显示扩展方法图标。
Two invocation list elements are equal if they invoke the same instance method on the same target instance, or they invoke the same static method.
两个调用列表的元素在以下情况下相等:它们调用相同目标实例上的相同实例方法,或它们调用相同的静态方法。
If the class has a no-args constructor, and you want to use that constructor and then immediately invoke a single instance method on it, there's a shortcut.
如果该类具有一个无参构造函数,您想使用这个构造函数,然后立即在其上调用一个实例方法,那么有一种捷径。
In this section, we create a Action web service web service, and access the web service using the web_client_api function and the direct instance method invocation.
在本节中,我们将创建ActionwebService web服务,并访问使用web_client_api函数的web服务和直接实例方法调用。
Extension methods have all the capabilities of regular static methods. In addition, once imported, extension methods can be invoked using instance method syntax.
扩展方法具备所有常规静态方法的所有能力。另外,一旦被导入,扩展方法可以使用实例方法语法调用之。
Execution of an instance method is scoped to a particular instance of the class; you must create an instance of the class before you can invoke the method of the class.
一个实例方法的执行在类的一个特定示例中有效;您在调用该类的方法之前必须创建一个类的实例。
An assertion cannot be used with class variable declarations for instance, but can be placed within any method.
不能将断言同实例的类变量声明一块使用,但却可以将其置于任何方法内。
The following code sample shows how to create a CBE instance using this method.
以下的代码例子展示如何用这种方法创建CBE实例。
Method chaining USES return values from methods to relay instruction context, which in this case is the object instance making the first method invocation.
方法链接使用方法的返回值来中转指令上下文,在这种情况下是进行第一个方法调用的对象实例。
To maintain an authenticated session, pass the local HttpContext instance to every httpclient.execute method you call in your code.
为了维护一个认证的会话,您可以向代码中所调用的每一个httpclient . execute方法传递本地HttpContext实例。
After the message is initialized, send it using your Client class instance with the send method.
消息初始化成功后,可以通过对client类实例使用send方法来发送它。
Ultimately returns the new appointment instance, meaning that subsequent method calls are invoked on the new appointment
最后返回新appointment实例,这意味着随后的方法调用是在新的 appointment上进行的
This method allows a component instance to perform custom cleanup actions.
removeInstance(...)方法允许组件实例执行定制的清空操作。
The add method appends a validator instance to the array.
add方法可将一个验证器实例追加到该数组。
To invoke the JAX-WS web service method, you need to instantiate a proxy instance and invoke the method on the proxy synchronously, as shown in Listing 4.
要调用这个JAX - WSweb服务方法,需要同步实例化一个代理实例并调用该代理上的方法,如清单4所示。
I can use a findNotificationInfo() method to find a notification info instance during a setAttribute() call or method invocation.
可以使用findNotificationInfo()方法在 setAttribute()调用或者方法调用时查找通知信息实例。
As stated before, the ofsearch.search method returns an instance of the SearchResponse class.
正如前面提到的,ofsearch .search方法返回searchresponse类的实例。
Call the EIS function by invoking the execute method on the instance of Interaction.
通过调用Interaction实例中的execute方法来获取EIS功能。
应用推荐