Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
DeftTech
DuckTyping
DelegateDuckProxyType
WrapDuck
DeftTech.DuckTyping.DelegateDuckProxyType.WrapDuck C# (CSharp) Method
DelegateDuckProxyType Class Documentation
Datei anzeigen
Open project: deftflux/DuckTyping
WrapDuck()
public
method
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.
return
System.Delegate
public Delegate WrapDuck(Delegate duck) { GenerateProxyType(); return m_WrapDuck(duck); }
DelegateDuckProxyType
CanProxy
DelegateDuckProxyType
GenerateProxyType
GetParameterTypes
ImplementInvokeMethod
Prepare
WrapDuck