sounds like you wand Duck Typing.
see http://www.deftflux.net/blog/page/Duck-Typing-Examples.aspx
<http://www.deftflux.net/blog/page/Duck-Typing-Examples.aspx>

2009/12/18 Krzysztof Koźmic (2) <[email protected]>

> I'm not sure I understand you. Do you mean you have a class that you
> want to dynamically  toss some interfaces on (IEditableObject,
> IDataErrorInfo)?
> Something like this?
> http://jfromaniello.blogspot.com/2009/07/ieditableobject-another-behaviour-for.html
>
>
> On 18 Gru, 14:22, Jeusdi <[email protected]> wrote:
> > Hello group,
> >   I'm interesting to how can I create a proxy with a object target.
> > The problem is that the object is of a class that doesn't implement
> > any interface.
> >
> >   The object is provided me as a result of a third party function, and
> > I would like me proxy this object with several interfaces
> > (IEditableObject, IDataErrorIndo, ...) but I don't know how Can I do
> > it.
> >
> >   I don't know if I explained well.
> >   Can you help me?
> >   Thanks for all.
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "Castle Project Users" group.
> To post to this group, send email to [email protected]
> .
> To unsubscribe from this group, send email to
> [email protected]<castle-project-users%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/castle-project-users?hl=en.
>
>
>


-- 
Ken Egozi.
http://www.kenegozi.com/blog
http://www.delver.com
http://www.musicglue.com
http://www.castleproject.org
http://www.idcc.co.il - הכנס הקהילתי הראשון למפתחי דוטנט - בואו בהמוניכם

--

You received this message because you are subscribed to the Google Groups 
"Castle Project Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/castle-project-users?hl=en.


Reply via email to