StefH/ProxyInterfaceSourceGenerator
This project uses Source Generation to generate an interface and a Proxy class for classes. This makes it possible to wrap external classes which do not have an interface, in a Proxy class which makes it easier to Mock and use Dependency Injection.
This project helps C# developers create clean, testable code when working with existing classes that lack interfaces. It takes a C# class without an interface and automatically generates both an interface and a proxy class. This allows developers to easily mock these classes for testing and integrate them into dependency injection frameworks.
No commits in the last 6 months.
Use this if you are a C# developer who needs to create interfaces and proxy classes for existing concrete classes to improve testability and integrate with dependency injection.
Not ideal if you are not a C# developer, or if you are working with classes that already have well-defined interfaces.
Stars
47
Forks
6
Language
C#
License
MIT
Category
Last pushed
Sep 05, 2025
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/StefH/ProxyInterfaceSourceGenerator"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
serenity-is/Serenity
Business Apps Made Simple with Asp.Net Core MVC / TypeScript
sjh37/EntityFramework-Reverse-POCO-Code-First-Generator
EntityFramework Reverse POCO Code First Generator - Beautifully generated code that is fully...
mganss/XmlSchemaClassGenerator
Generate C# classes from XML Schema files
dadhi/FastExpressionCompiler
Fast Compiler for C# Expression Trees and the lightweight LightExpression alternative....
filiptrivan/spiderly
.NET (C#) boilerplate code generator that transforms an EF Core model into a fully customizable...