bug in ContainerTraverser.Traverse?

Oct 1, 2012 at 9:09 PM

i believe i got out a bug in ContainerTraverser.Traverse<T>:

            
var targetContainer = targetObject as IContainer;

should be:

  var targetContainer = target as IContainer;

otherwise the func don´t traverse down the hierarchy - if the root isn´t queried type itself ...

therefore a call to group.Traverse doesn´t deliver the expected result in many cases

Coordinator
Oct 2, 2012 at 1:57 AM

Thanks for pointing out, those 2 traverse behaviors doesn't match :)