/// <summary>
 /// Intercept the call to GetExtendedTypeDescriptor and return ourselves if appropriate
 /// </summary>
 public override ICustomTypeDescriptor GetExtendedTypeDescriptor(object instance)
 {
     if (FilterExtendedProperties && instance == (object)Target)
     {
         return(this);
     }
     else
     {
         return(_baseProvider.GetExtendedTypeDescriptor(instance));
     }
 }
 public override ICustomTypeDescriptor GetExtendedTypeDescriptor(object instance)
 {
     return(_baseProvider.GetExtendedTypeDescriptor(instance));
 }