11.10.2007, 22:40 | #1 |
Участник
|
Sample Design Patterns: SysDictClass method implementedBy() returns as if class implements itself
Источник: http://www.bojanjovicic.com/post/Sys...ts-itself.aspx
============== 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 Источник: http://www.bojanjovicic.com/post/Sys...ts-itself.aspx
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору. |
|
|
|