Hi Karl and all friends and X# colleagues,
I have a slight confession to make - something to do with a small piece of NASA type spacecraft code getting into my solution.
So my craft got to Mars when I was headed for Venus, or even the Moon ! ;-0))
So numerically speaking LARGE became 'large', and it looks like all of you guys who guessed will have to fight it out between you for who gets the champagne to drink.
Yes, now that I have made a new clean demo app for Enums, Assemblies, Classes and Masks etc. it would appear that a small error on one line caused me to count all Types in the assembly, for the grand total - SORRY !
The answer is actually 2363 and can be clearly seen in the image below :-
- MasksAndEnums_53.jpg (190.2 KiB) Viewed 426 times
If you wish to check the code I have left the image attached but not displayed in the body of this post.
What I will add to the post itself is the code to open and display the blue form - its done in the classical way an MVVM form should be displayed.
- MasksAndEnums_55.jpg (103.26 KiB) Viewed 426 times
The assemblies in the data Model are injected into the ViewModel and the VM bound to the View. Easy!
Now then, if you inspect the top blue line in the grid you will see a number you know well by now - 22449 - yes, it is actually all of the types in the collection of assemblies.
However, we still have almost 11 % of all assembly types being of type Enum - so it is still quite substantial.
The unfortunate thing from my point of view was that my first (and correct) try gave me 499, which led me to false expectations for the group of assemblies - that's my excuse.
Anyone seen a space ship cruising around ? If you have then send it back to me please ;-0)
Have a nice day,
Phil.