Is it possible to obtain class summary at runtime?

后端 未结 6 1033
無奈伤痛
無奈伤痛 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条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-10 03:10

    Nope, they're not available through reflection. See msdn:

    The XML doc comments are not metadata; they are not included in the compiled assembly and therefore they are not accessible through reflection.

提交回复
热议问题