Mar 6, 2008 at 8:07 AM
Edited Mar 7, 2008 at 3:30 AM
I don't know whether here is the right place to ask the following question. But I try to ask it in MSDN Forums » .NET Development » .NET Base Class Library
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2951817&SiteID=1&mode=1 forum but get no response. :( Please help me.
My question is:
1. Can I use IEnumerableContract<T> or ICollectionContract<T> in contract assembly? If YES, how to convert them from View to Contract?
2. If NO, does it mean that I can ONLY use IListContract<T> in contract assembly and convert IListContract<T> to the collection type (e.g.: IEnumerabale<T> or ReadOnlyCollection<T>)in adapter? If my guess is right, I suggest PipelineBuild
add an attribute to indicate the Collection type in View and help user to convert IListContract<T> to specific Collection Type (e.g.: IEnumerable<T> or ICollection<T>).
3. How to use the type under System.AddIn.Contract.Collections?
Thanks in advance.