Skip to content

Commit 7c909a5

Browse files
authored
add full adapter 🎍
1 parent 11728e1 commit 7c909a5

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

Adapter/Readme.md

+9-4
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,12 @@
99
1010
<p><img src="https://www.codeproject.com/KB/architecture/774259/extracted-png-image2.png" width="482" height="375"></p>
1111
12-
<p><b>ITarget</b>: This is the interface which is used by the client to achieve functionality.<o:p></p>
13-
<p><b>Adaptee</b>: This is the functionality which the client desires but its interface is not compatible with the client.<o:p></p>
14-
<p><b>Client</b>: This is the class which wants to achieve some functionality by using the adaptee’s code.</p>
15-
<p><b>Adapter</b>: This is the class which would implement ITarget and would call the Adaptee code which the client wants to call.</p>
12+
<b>ITarget</b>: This is the interface which is used by the client to achieve functionality.<o:p>
13+
<b>Adaptee</b>: This is the functionality which the client desires but its interface is not compatible with the client.<o:p>
14+
<b>Client</b>: This is the class which wants to achieve some functionality by using the adaptee’s code.
15+
<b>Adapter</b>: This is the class which would implement ITarget and would call the Adaptee code which the client wants to call.
16+
17+
<h3>My C# implementation</h3>
18+
19+
* Implementation [AdapterClass](https://github.com/VanHakobyan/DesignPatterns/tree/master/Adapter/AdapterClass)
20+
* Implementation [AdapterObject](https://github.com/VanHakobyan/DesignPatterns/tree/master/Adapter/AdapterObject)

0 commit comments

Comments
 (0)