• When a closure "captures" a variable it "lifts" the variable out of its local scope and effectively moves it into an anonymous object.

    当一个闭包“捕获”一个变量时,它就会将这个变量提取出它的本地范围,移到一个匿名对象里。

    youdao

  • Type Inference - the var keyword, which is necessary when using anonymous types, can also reduce redundancy in your other variable declarations.

    类型推断—使用匿名类型时,关键字var必不可少。它还能减少你其他变量声明中的冗余。

    youdao

  • Lambda functions (or "anonymous functions," as they are often referred to) are simply throwaway functions that can be defined at any time and are typically bound to a variable.

    lambda函数(或者通常所谓的“匿名函数”)是可以随时定义的简单抛弃型函数,并且通常都与变量绑定。

    youdao

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

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

    youdao

  • When an anonymous method USES the value of a local variable, the value is obtained at the moment the anonymous method is executed.

    当匿名方法使用局部变量的值时,将在执行匿名方法时获取该值。

    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

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

    将匿名方法提取到其他方法中时,将在调用提取方法时获取局部变量的值。

    youdao

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

    将匿名方法提取到其他方法中时,将在调用提取方法时获取局部变量的值。

    youdao

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

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

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