Adding a new anonymous method.
添加新的匿名方法。
Associating the delegate with an anonymous method.
使委托与匿名方法关联。
Using Anonymous method not preferred by . NET itself?
使用匿名方法不可取的。网络本身?
These all accept a delegate, usually in the form of an anonymous method.
这些操作都可以接受一个委托,一般可以使用匿名方法的方式来传递。
These all accept a delegate , usually in the form of an anonymous method.
这些操作都可以接受一个委托,一般可以使用匿名方法的方式来传递。
Editing an anonymous method or any method that contains an anonymous method.
编辑匿名方法或任何包含匿名方法的方法。
Changing a constructor with a field that is initialized by an anonymous method.
更改具有由匿名方法初始化的字段的构造函数。
Omit the parenthesis only if the anonymous method could have been used on any delegate.
仅当匿名方法可能被用于任何委托时省略括号。
As shown in the following example, an anonymous method can accept arguments of any type.
如下面的例子所示,一个匿名方法可以接受任何类型的参数。
A delegate can be instantiated by associating it either with a named or anonymous method.
通过将委托与命名方法或匿名方法关联,可以实例化委托。
This means that an anonymous method can be converted to delegates with a variety of signatures.
这意味着匿名方法可转换为具有各种签名的委托。
You can use them anywhere a delegate value is expected, that is, wherever an anonymous method can be used.
可以在需要委托值的任何地方(也就是在可以使用匿名方法的任何地方)使用这些表达式。
With anonymous methods mimic the code layout of a regular method, aligned with the anonymous delegate declaration.
匿名方法模仿普通方法的布局,和匿名委托定义放在一行。
This method takes a new client object and an anonymous method that holds the same code a normal using block would contain.
方法接收一个新的客户端对象,以及一个匿名方法,该方法持有的代码与正常使用using语句块包含的代码完全相同。
When an anonymous method USES the value of a local variable, the value is obtained at the moment the anonymous method is executed.
当匿名方法使用局部变量的值时,将在执行匿名方法时获取该值。
A delegate object is normally constructed by providing the name of the method the delegate will wrap, or with an anonymous method.
委派物件一般是借由提供委派将包装的方法名称来建构,或使用匿名方法建构。
Use empty parentheses on parameter-less anonymous methods. Omit the parentheses only if the anonymous method could have been used on any delegate.
没有参数的匿名方法加上空的圆括号。除非这个匿名方法可能被用到任何类型的委托上。
When an anonymous method is extracted into another method, the value of the local variable is obtained at the moment of the call to the extracted method.
将匿名方法提取到其他方法中时,将在调用提取方法时获取局部变量的值。
When computer networks provide an easy anonymous method for sending someone a small amount of money, without a credit card, it will be easy to set up a much better system to support the arts.
当电脑网络提供了简单、匿名的方式进行小额转账,无需信用卡时,将易于建立更好的艺术支持体系。
To unsubscribe in this scenario, it is necessary to go back to the code where you subscribe to the event, store the anonymous method in a delegate variable, and then add the delegate to the event.
若要在这种情况下取消订阅,必须回到订阅该事件的程序码,并将此匿名方法储存到委派变数内,然后再将该委派加入此事件中。
If there are two anonymous members that both provide a method, the compiler will produce an error, but only if that method is called.
如果有两个匿名成员都提供一个方法,编译器将会报错,但只在该方法被调用的情况下。
This GET method requires authentication and does not support anonymous access.
该GET方法需要认证,不支持匿名访问。
To pass this to a recursive method, the anonymous class should extend a wrapper type known to the method.
为了在递归方法中传递,匿名类应该扩展方法已知的包装器类型。
The solution that Part 2 presents works for a multiuser and a multiform application and provides a method for identifying anonymous users across browser sessions.
第2部分将要给出的解决方案非常适合多用户和多表单的应用程序,同时还能识别浏览器会话间的匿名用户。
We accept leaked material in person and via postal drops as alternative methods, although we recommend the anonymous electronic drop box as the preferred method of submitting any material.
我们从个人手里接收泄密材料,或者通过邮寄手段,两种任选其一,尽管我们推荐使用匿名电子邮箱,它是最理想的传递任何材料的方式。
Loosely speaking, since our anonymous class doesn't define click itself, the method lookup proceeds right to left, as declared.
大概地讲,因为我们的匿名类没有定义自己的click,所以这个方法会按照声明从右到左开始寻找。
If you add a method, all JRuby has to do is generate a new anonymous class that includes the body of that method.
如果你添加了一个方法,则所有JRuby要做的事情就是生成一个新的匿名类,该类包含了这一方法的方法体。
The session parameter can be null, meaning that the method will create a separate anonymous session, do the work and then save the session in one method call.
session参数可以为空,这表示该方法将创建一个单独的匿名会话,请创建该会话,然后在一次方法调用中保存它。
His principal weapon was a method he developed to associate the real identities found in social networks such as Facebook and LinkedIn with the anonymous profiles of hackers.
他的主要武器便是他所开发的一种方法,该方法可以将社交网络如Facebook与LinkedLn中发现的真实身份与黑客的匿名资料关联起来。
I'm left with some ugly boilerplate code because of the anonymous inner class wrapping this method's real purpose - the two lines of code that appear in the body of the addOrderFrom method.
考虑到包装这个方法的匿名内部类的真正用途,我留下了几行难看的样板代码—addorderfrom方法体中的两行代码。
应用推荐