• Then, when the function delegate is invoked the specified method of the specified instance is called.

    接着调用函数委托,将调用指定实例指定方法

    youdao

  • Once we have a delegate type in the metadata and a target function we'd like to call, we must form an instance of the delegate over a target.

    元数据中,一旦我们了一个委托类型个我们调用目标函数,我们必须目标形成一个实例

    youdao

  • The constructor is used to form a delegate over a target object and a function pointer.

    构造器用通过目标对象一个函数指针形成一个委托

    youdao

  • Note that the handler function must have the signature defined by the delegate.

    注意处理器函数必须具备委托定义签名

    youdao

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

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

    youdao

  • Depending on your class, you may also want to delegate part of the computation to the equals() or hashCode() function of the superclass.

    根据使用可能希望降低superclassequals()hashCode()功能一部分计算能力。

    youdao

  • EventHandler is a delegate for a function that takes an Object (the sender) and eventargs.

    这里EventHandler某个函数委托,该函数带有参数:Object(也就是sender)eventargs

    youdao

  • To use Delegate, you need to attach some function to it.

    使用委派需要一些附加功能

    youdao

  • The main reason is that I can delegate the error handling in one single place: in my main function, where all my exceptions will be caught.

    主要原因可以委托地方错误处理:在的主要职能所有异常都会被捕获。

    youdao

  • In addition, where a function pointer contains only a reference to a particular function, a delegate consists of a reference to an object, and references to one or more methods within the object.

    另外函数指针包含特定函数的引用而委托对象引用以及对该对象多个方法引用组成。

    youdao

  • The . funcptr property of a delegate will return the function pointer value as a function type.

    函数指针委托可能合并到一个统一的语法并且可以互相代替。

    youdao

  • Unmanaged APIs that take functions Pointers as arguments can be called from managed code with a managed delegate in place of the native function pointer.

    可以使用托管委托取代本机函数指针托管代码调用函数指针作为参数托管api

    youdao

  • Multicast delegates wrap all the functions that have been added to the delegate in a single function call.

    多播委托添加委托所有方法包装一个单独的方法调用里面。

    youdao

  • Ensure that the garbage collector does not reclaim the delegate before the callback function completes its work.

    确保函数完成工作之前垃圾回收不会回收委托

    youdao

  • A delegate is thus equivalent to a type-safe function pointer or a callback.

    这样委托等效于类型安全函数指针一个回调。

    youdao

  • If, however, the callback function can be invoked after the call returns, the managed caller must take steps to ensure that the delegate remains uncollected until the callback function finishes.

    然而如果可以调用返回调用函数托管调用必须采取相应的措施确保委托回调函数完成其工作之前不会被回收。

    youdao

  • The probability of the failure depends on the time between marshaling the delegate and the callback on the function pointer as well as the frequency of garbage collections.

    故障发生可能性取决于从封送委托函数指针发出回调之间时间以及垃圾回收的频率

    youdao

  • When you are passing Function as parameter, it is known as Delegate.

    作为参数传递功能称为代表。

    youdao

  • When you are passing Function as parameter, it is known as Delegate.

    作为参数传递功能称为代表。

    youdao

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

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

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