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
6 forks
Language: C#
last commit: almost 2 years ago
Linked from 1 awesome list

code-generation

Backlinks from these awesome lists:

Related projects:

RepositoryDescriptionStars
jwshyns/dudnetA source generator that automates the creation of proxy classes to implement a proxy pattern.3
hamedfathi/mockablestaticgeneratorA tool to generate mockable interfaces and wrapper classes for static and extension methods in C#.14
stefh/nethereum-codegeneratorGenerates C# interfaces and classes from Solidity smart contracts6
surgicalcoder/apiclientgeneratorAutomates generation of strongly typed HTTP client classes from APIs.20
ycanardeau/resxgeneratorA C# source generator to create strongly-typed resource classes for localized strings31
daver32/interfacegeneratorA tool to automatically generate interfaces from classes36
codecentric/net_automatic_interfaceAutomatically generates interfaces from classes to reduce friction and noise in code63
beakona/autointerfaceAn interface-to-member source generator that creates code to redirect interface calls to backing members.76
martinothamar/wrappervalueobjectGenerates simple value objects in C# to wrap primitive types and provide automatic equality comparison and formatting53
artclarke/xuggle-swigA tool for generating wrapper code to make C/C++ libraries accessible to multiple scripting languages.0
thenameless314159/sourcegeneratorutilsProvides utility classes and abstractions to simplify source generation tasks in .NET source generators21
collinalpert/lombok.netA .NET library that uses source generators to automatically create boilerplate code for classes and structs.316
cgvirus/blender-vse-easy-proxyAn extension for Blender that automates the creation of proxy files using FFMPEG for Video Sequence Editor (VSE) workflow.19
sdilts/cl-bindgenA tool for generating FFI wrappers from C header files for Common Lisp26
distantcam/autoctorAutomatically generates constructors and associated code for managing dependencies in C# classes85