Skip to content

muazsh/Mockingbird.Net

Repository files navigation

Mockingbird.Net

MSBuild

This is a simple framework to mock C# classes/interfaces, the idea is based on my C++ Mockingbird but since C# does not support preprocessors this framework depends on reflection to emit MSIL (Microsoft Intermediate Language) code on fly to build new types dynamically at the run time using ILGenerator.Emit method.

Once you build a new type you can assign methods delegates and set properties values as needed, please see tests.

Releases

No releases published

Packages

No packages published

Languages