Proxy of interface

1 view
Skip to first unread message

Fabio Maulo

unread,
Nov 6, 2008, 2:00:15 PM11/6/08
to LinFu.Framework
How create a proxy of an interface without a real target object ?

Brian Chavez

unread,
Nov 6, 2008, 2:18:51 PM11/6/08
to linfufr...@googlegroups.com
Have you tried:

new ProxyFactory().CreateProxy<TInterface>(myInterceptor) ?

See Philip's article on LinFu DynamicProxy:

http://www.codeproject.com/KB/cs/LinFuPart1.aspx

His articles on codeproject are good for a general understanding of LinFu.

-Brian


----------------------------------------------
Brian Chavez
Bit Armory, Inc.
http://www.bitarmory.com

Reply all
Reply to author
Forward
0 new messages