go top

Delegation pattern

  • 委托模式(委托模式是软件设计中的基本技巧,两个对象处理同一请求,接受请求的对象将请求委托给另一个对象处理。委托模式可用于许多其他模式,如状态、策略、访问者。委托模式可用聚合替代继承,还可模拟mixin)

网络释义英英释义

  委托模式

... 基于角色 rbac; role-based 委托模式 delegation pattern 角色的访问控制模型 rbac ...

基于2446个网页-相关网页

  代理模式

上一篇: (翻译)代理模式(Delegation pattern)

基于8个网页-相关网页

短语

delegation pattern detail 委托模式

Delegation pattern

  • abstract: In software engineering, the delegation pattern is a design pattern in object-oriented programming where an object, instead of performing one of its stated tasks, delegates that task to an associated helper object. There is an Inversion of Responsibility in which a helper object, known as a delegate, is given the responsibility to execute a task for the delegator.

以上来源于: WordNet

双语例句

  • Delegation: a pattern where one object periodically sends messages to another object that is specified as its delegate.

    Delegation模式其中,一个对象定期发送消息一个指定作为代理的对象。

    youdao

  • A delegate object or delegation is a simple and powerful pattern in which one object in a program ACTS on behalf of, or in coordination with, another object.

    委托对象或者说委托方法简单功能强大模式此模式程序中的对象,其行为代表另一对象,与其一致。

    youdao

  • As a result, we might opt to refactor the convenience layer API by using a delegation design pattern instead of inheritance.

    因此我们重构便利api使用委托设计模式而不是继承

    youdao

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

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

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