01
Oct
This was originally posted at my personal site at: https://programmeral.com/posts/20240930_InterfaceSourceGenerator New Project: Public Interface Generator As developers we like to automate things. Anything we can automate is one less thing we waste time on later. Another thing that's getting easier to do, easier than it used to be at least, is to codify our patterns. Enforcing code patterns with code. One common pattern in C# is to create an interface that exists just to make unit test mocking easier. So why not generate the interface code instead of writing it? Well that's the project. There's code and a NuGet package…