Aslında resimlerle senaryoları toplamış olacağım ve her resimde neyi nasıl yapıyorlar anlayacaksınız.
CRC Kart
Ref: http://www.informit.com/articles/article.aspx?p=169507
The diagram, however, doesn’t show everything very well. The sequence of messages getQuantity,getProduct, getPricingDetails, and calculateBasePrice needs to be done for each order line on the order, while calculateDiscounts is invoked just once.
Ref: http://www.informit.com/articles/article.aspx?p=169507&seqNum=2
Asenkron ve daha kısa for