NDimple
Dynamically implement a type for you
Download 1.0 VersionFeaturesImplement Interface Implement Abstract Class Proxy abstract methods Proxy virtual methods Proxy could be abstract type Google CodeArticles | What is NDimple?It's a .NET version of Dimple framework Why I need NDimple?You can use this framework to make stub when do unit testing. If you want to implement a huge interface, check this out. If you want to override one abstract method among a huge abstract class, check this out. If you want to start using mock framework to simulate behavior more complex than get set, check this out. Is it easy?public class StubDbCommand Console.WriteLine(StubDbCommand.New().ExecuteScalar()); Output: Hello Protected Abstract Method?public abstract class AbstractClass public abstract class StubAbstractClass : AbstractClass Console.WriteLine(StubAbstractClass.New().InvokeAbstractMethod1()); Output: Hello |
Maintained by taowen