lundi 2 juillet 2018

real world example of Abstract Factory Design Pattern in C#

I am writing this question after reading many posts on Abstract Factory Design Pattern in C#.I really cannot make a real world use case sense out of the examples that all those posts provide. All I could see was some basic example of cars/computers/phones etc.I understand that they are important to provide a simple explanation. But I am really unable to map it to anything real world, because if I would really follow such examples, my code would be changing every other week when I would want to bring new objects.

Please help me with any example/link/post that would really implement it in a way that makes real world sense.

The links i have gone through are:

-https://www.dotnettricks.com/learn/designpatterns/abstract-factory-design-pattern-dotnet

-http://www.dofactory.com/net/abstract-factory-design-pattern

-https://www.codeproject.com/Articles/328373/Understanding-and-Implementing-Abstract-Factory-Pa

-https://www.c-sharpcorner.com/UploadFile/bd5be5/design-patterns-in-net/?utm_source=tuicool

Aucun commentaire:

Enregistrer un commentaire