• Castle Windsor: How to register by convention with delegate method?

    温莎城堡:如何通过委托方法公约登记

    youdao

  • Notice that it always sends itself as the first argument to the delegate method.

    注意总是自己作为第一参数传递给它委托方法

    youdao

  • The invocation handler class will also delegate method calls to a real implementation class in order to process the core business logic.

    调用处理程序方法调用委托真正的实现类,以便处理核心业务逻辑

    youdao

  • An interface reference or a delegate can be used by an object that has no knowledge of the class that implements the interface or delegate method.

    即使知道实作委派方法类别物件仍然可以使用介面参考或委派。

    youdao

  • These all accept a delegate, usually in the form of an anonymous method.

    这些操作可以接受一个委托一般可以使用匿名方法方式来传递。

    youdao

  • Use the .Compile() method to turn the expression tree into a delegate so that you can execute it.

    .Compile()方法表达式转换为一个委托,然后可以执行它。

    youdao

  • The ExecuteFromPool method accepts a delegate and arguments in addition to the desired type.

    ExecuteFromPool方法除了接受所需类型以外,还接受委托参数

    youdao

  • You can see the tableView delegate and data source set below in the viewDidLoad method.

    可以看到viewDidLoad方法设置tableView委托数据源

    youdao

  • A new method called ForAll allows each thread to call a delegate directly against each item.

    一个新的ForAll方法允许每个线程直接对于每个元素执行某个委托调用

    youdao

  • The execute method invokes the given delegate with an object from the pool, and ensures that the retrieved object is returned to the pool after the delegate completes.

    Execute方法中的对象调用给定委托并且确保该委托完成之后检索的对象返回到该池中。

    youdao

  • Our handle method will delegate most of the processing to other methods, and change the existing handle method to match that of Listing 2.

    我们handle方法会将大部分处理委托其他方法请更改现有的handlemethod清单2中的方法匹配

    youdao

  • These are classes that execute user code, often a delegate to some method (which might be anonymous), when certain conditions are met.

    这些类用来在当特定情况出现时执行用户代码(用户代码通常某个方法delegate)。

    youdao

  • For instance, when your application is shutting down, the WillTerminate method is called on your application delegate, and you have an opportunity to save any user data, application state, etc.

    比如,在应用程序关闭时候WillTerminate方法将被调用,这样机会保存任何用户数据、应用程序状态

    youdao

  • However, instead of specifying a callback method, specify a delegate for the connection, once you have set this to self.

    但是一旦代理设置self,就应该连接指定个代理,而不是一个回调方法

    youdao

  • The updateCD() method delegates most of its responsibility to the business delegate.

    updateCD()方法可以代理业务代理大部分职责

    youdao

  • The CPURLConnection's delegate class defines the name of the method to be invoked.

    CPURLConnection的代理定义调用的方法类。

    youdao

  • For example, the proxy class could delegate the method invocation to any other object or even handle it itself.

    例如代理可以方法调用委托其他任何对象甚至处理程序本身。

    youdao

  • It will first validate method parameters upon a method invocation and then delegate the method call to the implementation class.

    首先验证方法调用的方法参数然后把方法调用委托实现类。

    youdao

  • You can also delegate the behavior to a public method on the aspect if you choose.

    如果愿意的话,可以行为委派方面公共方法

    youdao

  • Here, manager is the delegate and his subordinate is the method wrapped up with the delegate.

    在这里经理委托下属就是这个委托联系在一起的方法

    youdao

  • Delegate is a reference pointer to a method. It allows us to treat method as a variable and pass method as a variable for a callback.

    委托方法引用指针允许我们方法作为一个变量传递方法作为回调函数的一个变量。

    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

  • As shown in Listing 1, you delegate the serialization to PurchaseOrder's marshal method.

    如清单1将可以将序列化委托PurchaseOrder的marshal方法。

    youdao

  • It would be possible to handle methods directly in this handler class, but it's much cleaner to delegate different method types (getters and setters, for example) to different implementation classes.

    虽然可以这个处理程序直接处理方法但是简洁的做法是不同方法类型(例如gettersetter)委托给不同的实现类。

    youdao

  • They each delegate the real work to the run method of a PrivilegedExceptionAction class that is invoked within a privileged block.

    它们各自实际工作委托privilegedexceptionactionrun方法,这个类在特许块中被调用

    youdao

  • The remaining parts of the delegate specify the kind of method that instances of this delegate can represent.

    委托其余部分指明这个委托的实例可以代表方法种类

    youdao

  • The main method then proceeds to delegate the parsing of the argument to a CmdLineParser object, which then returns an Options object.

    main方法然后会将参数解析委托CmdLineParser对象,后者返回Options对象。

    youdao

  • A delegate is an object that contains a reference to a method.

    委托包含一个方法的引用对象

    youdao

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

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

    youdao

  • Sorry, I'd like to give you a reference to that method, and that's what a delegate is.

    但是除此之外,一个方法引用那么这就是委托

    youdao

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

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

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