Skip to content

Commit

Permalink
Merge pull request #46 from crwsolutions/feature/add-nuget-badge
Browse files Browse the repository at this point in the history
Added a nuget badge to the readme, so it is easy to find.
  • Loading branch information
ChristianSauer authored Apr 15, 2024
2 parents 7d87360 + bab9edf commit 218ba17
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

A C# Source Generator to automatically create Interface from classes.

[![NuGet version (sourcedepend)](https://img.shields.io/nuget/v/AutomaticInterface?color=blue)](https://www.nuget.org/packages/AutomaticInterface/)

## What does it do?

Not all .NET Interfaces are created equal. Some Interfaces are lovingly handcrafted, e.g. the public interface of your .NET package which is used by your customers. Other interfaces are far from lovingly crafted, they are birthed because you need an interface for testing or for the DI container. They are often implemented only once or twice: The class itself and a mock for testing. They are noise at best and often create lots of friction. Adding a new method / field? You have to edit the interface, too!. Change parameters? Edit the interface. Add documentation? Hopefully you add it to the interface, too!
Expand Down

0 comments on commit 218ba17

Please sign in to comment.