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

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

    youdao

  • 更改具有匿名方法初始化字段构造函数

    Changing a constructor with a field that is initialized by an anonymous method.

    youdao

  • 意味着匿名方法转换具有各种签名委托

    This means that an anonymous method can be converted to delegates with a variety of signatures.

    youdao

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

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

    youdao

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

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

    youdao

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

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

    youdao

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

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

    youdao

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

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

    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

  • 主题说明程式分析如何处理匿名方法关联的警告度量资讯。

    This topic explains how Code Analysis handles warnings and metrics that are associated with anonymous methods.

    youdao

  • 最大的消息调试现在支持C# 2.0的特性泛型匿名方法迭代器……

    The biggest news is that the debugger now has support for C# 2.0 features such as generics, anonymous methods and iterators ....

    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

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

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

    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

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

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

    youdao

  • 通过使用匿名方法由于不必创建单独方法,因此减少实例化委托所需的编码系统开销

    By using anonymous methods, you reduce the coding overhead in instantiating delegates because you do not have to create a separate 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

  • 方法接收新的客户端对象以及匿名方法方法持有代码正常使用using语句块包含的代码完全相同

    This method takes a new client object and an anonymous method that holds the same code a normal using block would contain.

    youdao

  • 任何大 量使用匿名方法项目升级VisualStudio 2008时,可能无法保持代码分析清洁性。

    The bad news is that any project making heavy use of anonymous methods is likely no longer Code Analysis clean on its upgrade to Visual Studio 2008.

    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

  • 他们引用了一匿名研究人员的话,得很精辟:“使用糟糕方法也能得到结果。”

    They quote an anonymous researcher who said pithily: "Poor methods get results."

    youdao

  • 代码举例说明了指定参数方法作为一个匿名列表具有作为第一参数回调的引用随后所需参数

    This code also demonstrates one way to specify arguments to a callback: as an anonymous list, with a reference to the callback invoked as the first element, followed by the required parameters.

    youdao

  • 会话提供一种跟踪匿名用户那些漫游站点之前不必首先登录的用户的方法

    Sessions also provide a way to track anonymous users, or those who aren't required to log in first before roaming through a site.

    youdao

  • 这些方法实现包含匿名中,在遇到方法这些类就会被生成

    The implementations for those methods are contained in anonymously named classes that are generated when the method is encountered.

    youdao

  • 不再丑陋匿名内部只要通过这些便捷方法使用包就可以!

    No more ugly anonymous inner classes: just use closures through those shortcut methods!

    youdao

  • 他们需要一个有效并且可靠方法一些嫌疑人确定那些匿名邮件。

    They need a reliable, effective way to determine which of several suspects has written the emails under investigation.

    youdao

  • 如果两个匿名成员提供一个方法编译将会报错方法调用的情况下。

    If there are two anonymous members that both provide a method, the compiler will produce an error, but only if that method is called.

    youdao

  • 每次调用匿名方法时都必须创建一个该类实例

    An instance of this class has to be created for each time the parent method is called.

    youdao

  • 为了在递归方法传递匿名应该扩展方法已知包装器类型

    To pass this to a recursive method, the anonymous class should extend a wrapper type known to the method.

    youdao

  • 作用在于可以使用匿名替代您所希望替代方法剩下方法默认方式实现

    What's useful about this class is that you can use anonymous classes to override only the methods you want; the rest of the methods are implemented by default.

    youdao

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

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

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