-
-
[求助]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.
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.
[注意]传递专业知识、拓宽行业人脉——看雪讲师团队等你加入!
赞赏
他的文章
看原图
赞赏
雪币:
留言: