S
Semut
Hello, below is a code snippet on determine what class does the class
inherit from. This is working fine until I need a requirement to determine
the on what interface does the class implement. Any idea anyone?
thanks in advance.
Type[] types = myAssembly.GetTypes();
foreach(Type t in types)
{
if (t.IsSubclassOf(typeof(InternetNow.IInowForm)))
{
....
}
}
inherit from. This is working fine until I need a requirement to determine
the on what interface does the class implement. Any idea anyone?
thanks in advance.
Type[] types = myAssembly.GetTypes();
foreach(Type t in types)
{
if (t.IsSubclassOf(typeof(InternetNow.IInowForm)))
{
....
}
}