DeftTech.DuckTyping.DelegateDuckProxyType.WrapDuck C# (CSharp) Метод

WrapDuck() публичный Метод

Calls the static WrapDuck method of the generated proxy type to initialize a new instance of the proxy type with a given duck delegate and return a delegate to its invoke method.
public WrapDuck ( Delegate duck ) : Delegate
duck System.Delegate Duck delegate that the new proxy object should forward calls to.
Результат System.Delegate
        public Delegate WrapDuck(Delegate duck)
        {
            GenerateProxyType();

            return m_WrapDuck(duck);
        }