代码地址:COmmon中心代码
/// <summary> /// 反射工具 /// </summary> public static class ReflectionUtil { } /// <summary> /// 布尔值<see cref="Boolean"/>类型的扩展辅助操作类 /// </summary> public static class BooleanExtensions { } /// <summary> /// Enumerable集合扩展方法 /// </summary> public static class EnumerableExtensions { } /// <summary> /// 枚举<see cref="Enum"/>的扩展辅助操作方法 /// </summary> public static class EnumExtensions { } /// <summary> /// 基类型<see cref="Object"/>扩展辅助操作类 /// </summary> public static class ObjectExtensions1 { } /// <summary> /// 随机数<see cref="Random"/>类型的扩展辅助操作类 /// </summary> public static class RandomExtensions { } /// <summary> /// Stream扩展方法 /// </summary> public static class StreamExtensions { } /// <summary> /// StringBuilder 扩展方法类 /// </summary> public static class StringBuilderExtensions { } /// <summary> /// 字符串<see cref="string"/>类型的扩展辅助操作类 /// </summary> public static class StringExtensions { } /// <summary> /// 数组扩展方法 /// </summary> public static class ArrayExtensions { } /// <summary> /// 集合扩展方法 /// </summary> public static class CollectionExtensions { } #region help类 /// <summary> /// 比较器辅助类,用于快速创建<see cref="IComparer{T}"/>接口的实例 public static class ComparisonHelper<T> { } /// <summary> /// 相等比较辅助类,用于快速创建<see cref="IEqualityComparer{T}"/>的实例 /// </example> /// <typeparam name="T"> </typeparam> public static class EqualityHelper<T> { } /// <summary> /// Excel导出操作类 /// </summary> public class ExcelExportHelper<T> { } /// <summary> /// Excel导入操作类 需要安装NPOI /// </summary> public class ExcelImportHelper { } /// <summary> /// FileHelper /// </summary> public class FileHelper { } /// <summary> /// JsonHelper /// </summary> public static class JsonHelper { } /// <summary> /// PDF /// </summary> public class PDFHelper { } /// <summary> /// 正则帮助类 /// </summary> public class RegularHelper { } /// <summary> /// 字符串通用操作类 /// </summary> public class StringHelper { } #endregion #region 公用库 /// <summary> /// 获取服务器信息 /// </summary> public static class MachineUtil { } /// <summary> /// 网络操作 /// </summary> public static class NetUtil { } /// <summary> /// 汉字转换拼音 /// </summary> public class PinyinUtil { } /// <summary> /// 树形结构查询 /// </summary> public static class QueryTreeUtil { } /// <summary> /// 树结构帮助类 /// </summary> public static class TreeUtil { } /// <summary> /// 树模型基类 /// </summary> public class TreeModel { }
标签:辅助,C#,扩展,目录,class,static,Common,操作,public From: https://www.cnblogs.com/LZXX/p/16788905.html