Observer Design Pattern | Design Pattern In C# With Example

preview_player
Показать описание
Observer design pattern is used when there is one-to-many relationship between objects such as if one object is modified, its dependent objects are to be notified automatically. Observer design pattern falls under behavioral pattern category.

For Example we have a weather station and 100 news agency. if weather station temperature has been changed the all 100 news agency will get notify about the change of temperature and report according.
Рекомендации по теме
join shbcf.ru