Skip to content

The observer pattern is a software design pattern in which an object, called the subject (Observable), maintains a list of its dependents, called observers, and notifies them automatically of any state changes, usually by calling one of their methods. Here is an implementation in C#

License

Notifications You must be signed in to change notification settings

koimiyovo/observer_pattern

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

observer_pattern

The observer pattern is a software design pattern in which an object, called the subject (Observable), maintains a list of its dependents, called observers, and notifies them automatically of any state changes, usually by calling one of their methods. Here is an implementation in C#

We have an example of a weather station that has a list of displays and notify them when data of the weather station change.

About

The observer pattern is a software design pattern in which an object, called the subject (Observable), maintains a list of its dependents, called observers, and notifies them automatically of any state changes, usually by calling one of their methods. Here is an implementation in C#

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages