ProxyInterfaceSourceGenerator

Class wrapper generator

A tool that generates interfaces and proxy classes to facilitate mocking and dependency injection of external classes without interfaces

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.

GitHub

39 stars
9 watching
5 forks
Language: C#
last commit: 13 days ago
Linked from 1 awesome list

code-generation

Backlinks from these awesome lists:

Related projects:

Repository Description Stars
jwshyns/dudnet A source generator that automates the creation of proxy classes to implement a proxy pattern. 3
hamedfathi/mockablestaticgenerator A tool to generate mockable interfaces and wrapper classes for static and extension methods in C#. 14
stefh/nethereum-codegenerator Generates C# interfaces and classes from Solidity smart contracts 6
surgicalcoder/apiclientgenerator A tool that generates strongly typed HTTP client classes for .NET 6.0 Web API projects. 19
ycanardeau/resxgenerator A C# source generator to create strongly-typed resource classes for localized strings 32
daver32/interfacegenerator A tool to automatically generate interfaces from classes 36
codecentric/net_automatic_interface Automatically generates interfaces from classes to reduce friction and noise in code 61
beakona/autointerface An interface-to-member source generator that creates code to redirect interface calls to backing members. 76
martinothamar/wrappervalueobject Generates simple value objects in C# to wrap primitive types and provide automatic equality comparison and formatting 53
artclarke/xuggle-swig A tool for generating wrapper code to make C/C++ libraries accessible to multiple scripting languages. 0
thenameless314159/sourcegeneratorutils Provides utility classes and abstractions to simplify source generation tasks in .NET source generators 21
collinalpert/lombok.net A .NET library that uses source generators to automatically create boilerplate code for classes and structs. 313
cgvirus/blender-vse-easy-proxy An extension for Blender that automates the creation of proxy files using FFMPEG for Video Sequence Editor (VSE) workflow. 19
sdilts/cl-bindgen A tool for generating FFI wrappers from C header files for Common Lisp 26
distantcam/autoctor Automatically generates constructors and associated code for managing dependencies in C# classes 84