J
Joanna Carter [TeamB]
"Fabio Z" <[email protected]> a écrit dans le message de (e-mail address removed)...
| If I should say it all, I should implement an interface, but not IList<T>,
| because I need a object that doesn't publish Add, Remove, Clear that are
| managed internally (I'm thinking about IEnumerable<T>).
If you don't want to publish those methods, then look at ICollection, the
non-generic interface. All the methods you want to hide are those that
belong to ICollection<T> so, by using the non-generic interface, you should
get what you need.
Joanna
| If I should say it all, I should implement an interface, but not IList<T>,
| because I need a object that doesn't publish Add, Remove, Clear that are
| managed internally (I'm thinking about IEnumerable<T>).
If you don't want to publish those methods, then look at ICollection, the
non-generic interface. All the methods you want to hide are those that
belong to ICollection<T> so, by using the non-generic interface, you should
get what you need.
Joanna