词汇:对象图中的路径?
我对以下句子遇到了麻烦:
DeepClone
执行深度克隆 目标对象,停止克隆过程 当所有<依赖路径>都有 达到值类型或ITransactionalObject
。
我所说的“依赖路径”是指您在克隆过程中遵循的引用链:对象 A 引用 B、B 引用 C、C 引用 D……以及 N 引用 ITransactionalObject,然后就停在那里,不要克隆 ITransactionalObject
。然后返回 M 并遵循该路径,依此类推,直到所有分支都遇到值类型或 ITransactionalObjects。
除了依赖路径之外,您会使用什么术语?我有一种感觉,它一定已经有一个名字了。
谢谢 :)
I'm having trouble with the following sentence:
DeepClone
performs a deep clone of
the target object, stopping the cloning process
when all <dependency paths> have
reached a value type or anITransactionalObject
.
What I mean by "dependency path" is the chain of references you follow in the cloning process: object A has a reference to B, B to C, C to D,... and N to an ITransactionalObject
, and then you stop there and don't clone the ITransactionalObject
. Then you go back to M and follow that path, and so on, until all branches run into value types or ITransactionalObjects
.
What term would you use rather than dependency path? I have the feeling there must already be a name for it.
Thanks :)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
路径是遍历图表的标准术语,因此除非您想添加更多特定于领域的术语,否则我认为这是可以的。
您可以说“...直到依赖关系树完全解析(即所有路径都以
ITransactionalObject
或值类型终止)”。Path is the standard term for a walk through a graph, so unless you want to add more domain-specific terminology I think that's okay.
You could say "... until the dependency tree is fully resolved (i.e. all paths have terminated in
ITransactionalObject
s or value types)".