Try modeling this scenario using the Chain of Responsibility Design Pattern in Rational Software Architect.
尝试在 Rational Software Architect 中使用责任链设计模式为该情境建模。
Instead of using regular expressions to rewrite public URIs onto private ones, Ranvier implements a chain-of-responsibility design pattern to delegate resource determination to relevant code.
Ranvier并不使用正则表达式把公共uri重写成私有uri,而是实现责任链(chain - of - responsibility)设计模式,把资源判断任务委托给相关代码。
Chain.NET (or NChain) is a generic implementation of Chain Of Responsibility design pattern for .NET and Mono platforms.
NET(又名NChain)是 职责链模式在.NET和Mono平台上的一个实现。
应用推荐