• With anonymous methods mimic the code layout of a regular method, aligned with the anonymous delegate declaration.

    匿名方法模仿普通方法布局匿名委托定义放在行。

    youdao

  • These all accept a delegate, usually in the form of an anonymous method.

    这些操作可以接受一个委托一般可以使用匿名方法方式来传递。

    youdao

  • An anonymous function is defined within the context of another function, usually by assigning it to a delegate variable.

    匿名函数通常通过分配代理变量,来在其他函数上下文中定义

    youdao

  • Use empty parentheses on parameter-less anonymous methods. Omit the parentheses only if the anonymous method could have been used on any delegate.

    没有参数的匿名方法加上圆括号。除非这个匿名方法可能用到任何类型的委托

    youdao

  • These are classes that execute user code, often a delegate to some method (which might be anonymous), when certain conditions are met.

    这些类用来在当特定情况出现时执行用户代码(用户代码通常某个方法delegate)。

    youdao

  • A delegate can be instantiated by associating it either with a named or anonymous method.

    通过委托命名方法匿名方法关联可以实例化委托。

    youdao

  • Anonymous methods are most frequently used to pass a code block as a delegate parameter.

    匿名方法通常用于代码作为委托参数进行传递

    youdao

  • Omit the parenthesis only if the anonymous method could have been used on any delegate.

    匿名方法可能用于任何委托时省略括号

    youdao

  • For use with anonymous methods, the delegate and the code to be associated with it are declared together.

    为了匿名方法一起使用委托之关联代码必须一起声明

    youdao

  • Creating anonymous methods is essentially a way to pass a code block as a delegate parameter.

    代码传递委托参数,创建匿名方法唯一方法。

    youdao

  • 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.

    这种情况下取消订阅,必须回到订阅事件程序码,并将此匿名方法储存委派变数内然后再将该委派加入事件中。

    youdao

  • These all accept a delegate , usually in the form of an anonymous method.

    这些操作可以接受一个委托一般可以使用匿名方法方式来传递。

    youdao

  • With anonymous methods, mimic the code layout of a regular method, aligned with the delegate declaration. (complies with placing an open curly brace in a new line).

    使用匿名方法时,代码风格应该和普通方法一样,委托声明对齐。(大括号应该放到新的一行里)。

    youdao

  • Associating the delegate with an anonymous method.

    使委托匿名方法关联

    youdao

  • You can use them anywhere a delegate value is expected, that is, wherever an anonymous method can be used.

    可以在需要委托任何地方(也就是在可以使用匿名方法的任何地方)使用这些表达式。

    youdao

  • A delegate object is normally constructed by providing the name of the method the delegate will wrap, or with an anonymous method.

    委派物件一般提供委派包装方法名称建构使用匿名方法建构。

    youdao

  • A delegate object is normally constructed by providing the name of the method the delegate will wrap, or with an anonymous method.

    委派物件一般提供委派包装方法名称建构使用匿名方法建构。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定