Views: 2.2K
Replies: 0
Archived
|
Abstract Factory UML representationShouldn't the arrow from Client to AbstractFactory be a dotted line in diagram http://www.dofactory.com/net/abstract-factory-design-pattern ?
the only place where client uses abstractfactory is in the following code. so it should be a weak-dependency, and thereby a dotted line seems to more right >> public Client(AbstractFactory factory) { _abstractProductB = factory.CreateProductB(); _abstractProductA = factory.CreateProductA(); } Kiran Indukuri, Oct 15, 2014
|