Sunday 8 August 2021

Observer Pattern

Observer pattern comes under behavioral design patterns category, this pattern lets you define a subscription mechanism to notify multiple objects about any events that happen to the object they’re observingObserver 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.  This pattern also known as Publisher-Subscribe or Dependents.

No comments:

Post a Comment

Custome Service Class to connect wcf service

  using  System; using  System.ServiceModel; namespace Custom.Service.Client {      // Borrowed from: http://old.iserviceoriented.com/blog/p...