I would like to be able to create a runtime proxy for POCO in the same style as in Java using the JRE or cglib proxy libraries.
I saw Castle DynamicProxy that looks like it fits the bill, but the documentation is small. I am also surprised that this kind of thing is not in the .Net Framework itself.
Someone:
Thanks!
, , , .NET, - , .NET(#, VB.NET) Java :
Java , .
# ( VB.NET IIRC) , .
, - .NET, Java. .NET- "", - .NET "".
.NET DI, - , Castle.
, " " .NET - , .NET, " ", Java. , , . , .
" , .Net Framework".
. , . , RealProxy , , , . -, wrapee ( ?). . - Invoke (IMessage msg) RealProxy. (wrapee) , .
Cavets: MarshalByRef. . . . ILgen - , , .
Source: https://habr.com/ru/post/1711919/More articles:Packing Perl Modules with Config Files? - perlIn any case, to check if the user account is locked via PHP / LDAP? - phpLINQ: The specified movie is invalid - linqИмпорт файла Excel в Oracle - importSubSonic 3 generated ActiveRecord warning code - activerecordHow to set return value for readonly property using RhinoMocks in VB.NET? - vb.netWho is responsible for freeing objects in the array when copying? - memory-managementWhy does the search function of my CHM file say "No threads found"? - chmWhy can't this file be deleted after using C1ZipFile? - c #JSF inputText and inputSecret differ in size - jsfAll Articles