Skip to content

Instantly share code, notes, and snippets.

@pjastr
Last active April 27, 2020 12:07
Show Gist options
  • Save pjastr/1c41b6e9bc8fa1a37bc8c9aae9cae588 to your computer and use it in GitHub Desktop.
Save pjastr/1c41b6e9bc8fa1a37bc8c9aae9cae588 to your computer and use it in GitHub Desktop.

Kody do przeanalizowania:

https://github.com/anupavanm/csharp-design-patterns-for-humans#structural-design-patterns https://github.com/AliakseiFutryn/dotnet-design-patterns-samples/tree/master/Structural https://github.com/verloka/DesignPatterns/tree/master/src/StructuralPatterns

H1. Używając wzorac Adapter połącz klasę z interfejsem przedstawionym na diagramie UML.

H2. Używając wzorca Dekoratora stwórz pojekt symulujący działanie banku. Inspirację znajdziesz tutaj https://cezarywalenciuk.pl/blog/programing/wzorce-projektowe-csharp--dekorator

H3. Używając wzorca Fasady rozdziel metody z klasy BankAccount, aby aby nie były widoczne bezpśrednio przed obiektem tego typu:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment