A simple class Viewer

Source: Internet
Author: User
In order to analyze the technical architecture of competitor products (codenamed I6, which is used, I won't talk about it anymore), I made a class viewer myself.
Originally, we could see using ildasm or some. Net anti-compilers, but these tools have some shortcomings. For example, the bin directory contains. 20. NET components. When you use these tools to view them, 20 level-1 treenode will be displayed, even if many classes are under one namespace (physically stored in different files ).

CodeIt is very easy to note:
1. How to populate the fullname obtained after gettypes to the Treeview. After performing a recursion, we can get it done.
2. display the details of each class. This is also very simple. Use reflection.

After an afternoon of writing, I finally finished it. Let's take a look at our competitor's products, our own products, and finally the. NET Framework. Put a screenshot here!

The following figure shows that all the system. * classes are on one node.

The following figure shows all the methods (system. String/system. object is replaced by a simple one)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.