Function Delegate的意思|示意

美 / / 英 / /

函数委托


Function Delegate的网络常见释义

函数委托 lambda表达式可以方便地在某个点声明和实例化函数委托(function delegate)。另外,有了lambda表达式,创建functional就是小菜一碟。

Function Delegate相关短语

1、 delegate function 代表职能英语 ; 代表职能

2、 delegate function detail 代表职能

Function Delegate相关例句

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

当你作为参数传递功能,它被称为代表。

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.

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

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

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

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

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

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

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

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.

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