Emonicinformator: protected and internal
Status: Beta
Brought to you by:
bernhardbrem
The emonicinformator-module grabs all public elements of the external dll/exe. I think that the protected and internal elements are missing! One could write a dll and uses it within its project. An arbitrary class could derivate from a dll-internal class and the protected/ internal methods are missing then. So an enhancement of the emonic-informator is necessary.
On emonic.base side, I am enhancing the dllinfo.java to handle such an issue.
Logged In: YES
user_id=1245734
Originator: NO
I can take a look at the emonicinformator.exe-code.
Logged In: YES
user_id=1245734
Originator: NO
After a glimpse to the code c#:
- The access info protected is missing for fields, classes and properties. I will add it in the same way as it is in methods.
- It is not possible (and I think it is useless) to get the "internal" info: It is not questionable via reflection. I think we don't get internal functions via reflections at all: Like the name "internal" suggests, these functions can only be referenced inside the dll, so that they can't be referenced and are not exported.
Logged In: YES
user_id=1245734
Originator: NO
Improved the emonicinformator.exe and added the source to CVS. It does NOT find any internal classes, I don't think it is possible to find them via reflections from a assembly loaded as assembly file.
Improvements I made:
- Protected and private classes are found, too.
- The elements are labeled now correct as "CLASS", "INTERFACE" and "ENUM", not all as class.
- The access description is now "ACCESS: key", so that it can be easier ne identified.
Logged In: YES
user_id=1858080
Originator: YES
fixed some bugs (Emonicinformator, too => plz recompile!) in newly added code (regarding representation of images within the code-completion window). seems to work now. closed
Logged In: YES
user_id=1299552
Originator: NO
Dominik, please update the changelog.html file when you close bugs and/or feature requests.