On 11/11/16 09:46, Ryan Joseph wrote:
I just don’t plain get it. The examples given seem to be a redundant property
that could be replaced with a reference the interface itself.
Interface delegation is really just an optimisation and is equivalent to
defining a set of methods to support the interface and each one then
calls the same method in the "delegated" interface. IMHO, extending the
definition of a property for this optimisation isn't exactly intuitive.
Delegated interfaces cause even more problems with reference counted COM
interfaces. Unless you are really confident in your use of interfaces -
just don't go there.
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal