C# 类,导出到 Excel
C# Classes, export to Excel
是否可以将我的 classes 导出到 excel?
我需要 class 名称和所有属性。我的系统上有 Resharper 和 VS 2015。
我之前搜索过并找到了这个 How Can I export the list of classes from a Visual studio 2008 solution
这不是我的情况。
如果可能,我希望每个 class 都在 sheet 中,属性作为 sheet 的行。
P.S:我知道如何以编程方式进行。我正在寻找一种使用 Visual Studio 完成这项简单任务的方法。
这不是我的项目的功能,所以不是一个好主意
点击这些链接
获取所有 classes :
How to get all classes within namespace?
使用 Reflaction
从每个 class 中获取 属性 列表
How to get the list of properties of a class?
之后搜索导出到 excel。
是否可以将我的 classes 导出到 excel?
我需要 class 名称和所有属性。我的系统上有 Resharper 和 VS 2015。
我之前搜索过并找到了这个 How Can I export the list of classes from a Visual studio 2008 solution 这不是我的情况。
如果可能,我希望每个 class 都在 sheet 中,属性作为 sheet 的行。
P.S:我知道如何以编程方式进行。我正在寻找一种使用 Visual Studio 完成这项简单任务的方法。 这不是我的项目的功能,所以不是一个好主意
点击这些链接 获取所有 classes :
How to get all classes within namespace?
使用 Reflaction
从每个 class 中获取 属性 列表How to get the list of properties of a class?
之后搜索导出到 excel。