Beispiel #1
0
        public static bool DoesMethodExist(Action <IDuckSample> method)
        {
            var canDuckProxy = new CanDuckSampleProxy();

            method(canDuckProxy);
            return(canDuckProxy.MethodExists);
        }
Beispiel #2
0
 public static bool DoesMethodExist(Action<IDuckSample> method)
 {
     var canDuckProxy = new CanDuckSampleProxy();
     method(canDuckProxy);
     return canDuckProxy.MethodExists;
 }