- Posted by Bojan Jovičić on September 22, 2007
During my research of iterator design pattern usage in Dynamics AX, I was using reflection in X++ to check class hierarchy of some classes that are part of kernel.
In class SysDictClass, method implementedBy() returns list of classes that implement given class or interface. What is strange is that it always returns that same class in this list, as if it is considered that class implements itself.
Finding this very strange, I made simple workaround. It is part of job that shows some basic reflection stuff, and it does not show that class implements itself.
Here is the code for this simple job: Job_ReflectionJob.zip