Question : How do I get inherited properties from a derived interface using Reflection ?

I have a base interface A.

public interface A
{
  string PropertyOne { get; }
}

I have an interface B that extends A.

public interface B : A
{
  string PropertyTwo { get; }
}

When I use Reflection to get B's properties, I only get the ones declared inside B. I don't get the ones inherited from A. How can I get both with Reflection ?
i.e
PropertyInfo[] properties = B.GetType().GetProperties(BindingFlags.Instance | BindingFlags.Public | BindingFlags.GetProperty);

Answer : How do I get inherited properties from a derived interface using Reflection ?

http://www.askvg.com/windows-7-services-that-can-be-safely-set-to-manual/

this should tell you all you need to know about which ones can be 'stopped'

Random Solutions  
 
programming4us programming4us