
Signature
Mattias Sjögren [C# MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
> >Are these lists still present, just cunningly hidden? Or is there any
> >way to generate such a list, perhaps with a regex expression on the
> >search page?
>
> It shouldn't be too hard to do with Reflection.
Thanks. That's true, and I should have thought of it. Guess it was
late.

Signature
<http://www.midnightbeach.com>
Jon Shemitz - 19 Dec 2005 21:17 GMT
> > >Are these lists still present, just cunningly hidden? Or is there any
> > >way to generate such a list, perhaps with a regex expression on the
[quoted text clipped - 4 lines]
> Thanks. That's true, and I should have thought of it. Guess it was
> late.
499 in the beta 2 System.* namespaces.
//
using System;
using System.Collections;
using System.Reflection;
namespace Eumerables
{
class Program
{
static void Main(string[] args)
{
Type Enumerable = typeof(IEnumerable);
int Enumerables = 0;
foreach (Assembly A in AppDomain.CurrentDomain.GetAssemblies())
foreach (Type T in A.GetExportedTypes())
if (!T.IsInterface && Enumerable.IsAssignableFrom(T))
{
Console.WriteLine(T.FullName);
Enumerables++;
}
Console.WriteLine("\n{0} types implement IEnumerable", Enumerables);
}
}
}
//

Signature
<http://www.midnightbeach.com>