https://github.com/marshalofficial/csharp-adapter-pattern
csharp adapter design pattern
https://github.com/marshalofficial/csharp-adapter-pattern
adapter-pattern csharp design-patterns dotnet
Last synced: 21 days ago
JSON representation
csharp adapter design pattern
- Host: GitHub
- URL: https://github.com/marshalofficial/csharp-adapter-pattern
- Owner: MarshalOfficial
- Created: 2022-06-28T13:39:54.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-06-28T13:39:59.000Z (almost 4 years ago)
- Last Synced: 2025-10-14T17:57:11.875Z (8 months ago)
- Topics: adapter-pattern, csharp, design-patterns, dotnet
- Language: C#
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
## C# Adapter
- Usage examples: The Adapter pattern is pretty common in C# code. It’s very often used in systems based on some legacy code. In such cases, Adapters make legacy code work with modern classes.
- Identification: Adapter is recognizable by a constructor which takes an instance of a different abstract/interface type. When the adapter receives a call to any of its methods, it translates parameters to the appropriate format and then directs the call to one or several methods of the wrapped object.
### Frequency of use: medium-high