Is it possible to obtain class summary at runtime?

后端 未结 6 1034
無奈伤痛
無奈伤痛 2020-12-10 02:34

Is it possible to obtain class summary at runtime in C#? I would like to obtain class summary through reflection and then write it to console. By class summary I mean summar

6条回答
  •  甜味超标
    2020-12-10 03:28

    I maintain the Jolt.NET project on CodePlex and have implemented a feature that performs this very task. Please refer to the Jolt library for more information.

    In essence, the library allows you to programatically locate and query an XML doc comments file for an assembly using the metadata types in System.Reflection (i.e. MethodInfo, PropertyInfo, etc...).

提交回复
热议问题