Adapter pattern

De Banane Atomic
Révision datée du 7 juin 2020 à 15:34 par Nicolas (discussion | contributions) (Page créée avec « Category:CSharp Category:Design Patterns = Definition = Convert the interface of a class into another interface that clients expect.<br> The Adapter pattern lets c… »)
(diff) ← Version précédente | Voir la version actuelle (diff) | Version suivante → (diff)
Aller à la navigationAller à la recherche

Definition

Convert the interface of a class into another interface that clients expect.
The Adapter pattern lets classes work together that could not otherwise because of incompatible interfaces.

  • Match otherwise incompatible interfaces

Exemple