public static object CreateDuck(this IMethodInvoker target, Type proxyType) { var adapter = new MethodInvokeAdapter(target); return(adapter.CreateDuck(proxyType)); }
public static T CreateDuck <T>(this IMethodInvoker target) { var adapter = new MethodInvokeAdapter(target); return(adapter.CreateDuck <T>()); }