11
shouts

Observer Design Pattern Implementation

published 253 days, 11 hours ago posted by jantujantu 254 days, 11 hours, 55 minutes ago
Monday, July 06, 2009 12:20:09 PM GMT Sunday, July 05, 2009 11:24:54 AM GMT

Long time no see... Today I'll create one simple example that uses Observer behavioral pattern of the GOF. Observer pattern is used when you want other objects to be notify when something happens with a particular object. For my example ,I want some parts of our company (may be just a little company :P) knows when stock items of our shop is lower than 10 pieces. If it is below 10 ,then alert the notifications for e.g. the transportation part and the warehouseing part to understand the problem. Our notifi...

category: Architecture | clicked: 82 | | source: theblogfor.net | show counter code
tags: C#, Design Pattern