Closed GoogleCodeExporter closed 9 years ago
Hi dirk,
Calling the object constructor is done by design so that the proxy won't have
the
state (or baggage) of the real object. Each proxy instance is intentionally
designed
to have no state of its own (aside from the pointer to the interceptor type
that will
handle all of its calls), and skipping the base class constructor call uniformly
allows LinFu.Proxy v2.2 to treat interfaces and abstract base class method
calls the
same way with the same interceptor, regardless if the base type is an interface
or an
abstract class--so I'm afraid I can't this one...
Original comment by Philip.L...@gmail.com
on 18 Dec 2009 at 2:37
Ok fine, a pity though. I wasn't using the library to build a proxy really. I
was
"injecting" interfaces into a class, implementing the behaviour of those
interfaces
in terms of that class. I'll solve it another way.
best regards,
Dirk
Original comment by dirk.bo...@gmail.com
on 18 Dec 2009 at 9:57
Original issue reported on code.google.com by
dirk.bo...@gmail.com
on 18 Dec 2009 at 2:06