首页
社区
课程
招聘
[求助]Attributes Inspector .net
发表于: 2010-8-19 15:25 1055

[求助]Attributes Inspector .net

2010-8-19 15:25
1055
Attributes Inspector

The application is very simple, you can do the following tasks with it:

    * load an assembly: This shows at the bottom panel the custom attributes of the assembly, which can be recalled by double clicking at assembly name, and it shows public exported types contained in the assembly in the second panel.
    * To show custom attributes of a type, click on the type: It loads its properties , methods (not the inherited ones for brevity) and fields in the third panel and type custom attributes in the bottom panel.
    * To show custom attributes of a property , method or field, click on it.

The last version shows public and non public properties, and optionally by clicking the checkbox, show the values of the fields inside attributes.
Details

This application shows a few interesting things, obviously all of these interesting things are explained in other Codeproject articles and various documents, but it is another example:

    * Load assemblies at runtime and discovering its types, methods and properties using reflection
    * Obtaining custom attributes an its values at runtime.
    * Using the richtextbox with simplicity witch has being a discover to me.

[注意]传递专业知识、拓宽行业人脉——看雪讲师团队等你加入!

上传的附件:
收藏
免费 0
支持
分享
最新回复 (0)
游客
登录 | 注册 方可回帖
返回
//