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

    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

  • session参数可以为空,这表示方法创建单独匿名会话创建该会话,然后方法调用保存它。

    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.

    youdao

  • 原先行为一个匿名继承调用可以通过调用中的任何方法接受参数兼容当前方法参数

    Old behaviour: an anonymous inherited call could call through to any method in a parent class that accepted arguments compatible to the parameters of the current 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

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

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

    youdao

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

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

    youdao

  • 使用匿名方法忽略参数列表

    Anonymous methods enable you to omit the parameter list.

    youdao

  • 初始化匿名承载动态方法指定方法名称返回类型参数类型

    Initializes an anonymously hosted dynamic method, specifying the method name, return type, and parameter types.

    youdao

  • 初始化匿名承载动态方法指定方法名称返回类型参数类型

    Initializes an anonymously hosted dynamic method, specifying the method name, return type, and parameter types.

    youdao

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

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

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