这个event handler的构造函数接受一个方法委托(method delegate),当DocumentComplete事件被触发时,程序的控制权会转移到作为参数的这个方法委托。
基于1个网页-相关网页
delegate method 委托方法
These all accept a delegate, usually in the form of an anonymous method.
这些操作都可以接受一个委托,一般可以使用匿名方法的方式来传递。
The invocation handler class will also delegate method calls to a real implementation class in order to process the core business logic.
调用处理程序类还会把方法调用委托到真正的实现类,以便处理核心业务逻辑。
The ExecuteFromPool method accepts a delegate and arguments in addition to the desired type.
ExecuteFromPool方法除了接受所需类型以外,还接受委托和参数。
应用推荐