Skip to content

An example of publish subscribe pattern with method overloads and strategy pattern

Notifications You must be signed in to change notification settings

VoidEssy/PublishSubscribePatternSample

Repository files navigation

Publish Subscribe Pattern Sample (Pub/Sub)

An example of publish subscribe pattern with method overloads and strategy pattern.

Publisher can send either int, Collection of Strings or an object. Which subscribers can handle, presently their handling capabilities are based on the handlers supplied to them on initialization time.

The selection of appropriate handler is achieved via Strategy Pattern.

The main flow is controlled from Program.CS in PublishSubscribeSample Project, set it as your startup project.

About

An example of publish subscribe pattern with method overloads and strategy pattern

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages