{"id":22009634,"url":"https://github.com/glibwild/excollection","last_synced_at":"2025-05-06T18:08:17.311Z","repository":{"id":56123411,"uuid":"314475280","full_name":"GlibWild/ExCollection","owner":"GlibWild","description":"用于补充可用的/常用的扩展类，避免反复编写相似代码","archived":false,"fork":false,"pushed_at":"2024-03-15T03:58:53.000Z","size":2221,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-06T18:08:09.726Z","etag":null,"topics":["bytes","csharp","datatable-dataset","date","distance-calculation","enum","extension-methods","image","netcore","netframework46","tools"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GlibWild.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-11-20T07:13:21.000Z","updated_at":"2025-02-10T02:44:55.000Z","dependencies_parsed_at":"2024-11-30T02:10:12.115Z","dependency_job_id":"8ee353b7-5e99-4477-9e3a-a39a06179699","html_url":"https://github.com/GlibWild/ExCollection","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GlibWild%2FExCollection","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GlibWild%2FExCollection/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GlibWild%2FExCollection/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GlibWild%2FExCollection/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GlibWild","download_url":"https://codeload.github.com/GlibWild/ExCollection/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252741370,"owners_count":21797027,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bytes","csharp","datatable-dataset","date","distance-calculation","enum","extension-methods","image","netcore","netframework46","tools"],"created_at":"2024-11-30T02:10:09.687Z","updated_at":"2025-05-06T18:08:17.284Z","avatar_url":"https://github.com/GlibWild.png","language":"C#","readme":"## ExCollection\n### 用于补充可用的/常用的扩展类，避免反复编写相似代码\n***\n### [Nuget上线](https://www.nuget.org/packages/ExCollection)\n***\n## 版本说明\n### V1.0.2:\n#### 1. 添加字节数组，日期，图片，DataTable/DataSet转实体类等实现\n##### 字节数组，日期，图片均为扩展方法\n##### 实体类转换为泛型方法，举例说明：\n```c# 实体类\n    public class Test \n    {\n        public int Id { get; set; }\n        public string Name { get; set; }\n    }\n```\n```c#\n  List\u003cTest\u003e list = new List\u003cTest\u003e();\n  list.Add(new Test() { Id=1,Name=\"123\"});\n  list.Add(new Test() { Id = 2, Name = \"234\" });\n  DataTable dt = ExModel\u003cTest\u003e.FillDataTable(list);\n```\n### V1.0.3:\n#### 1. 计算两个经纬度之间的直接距离(google 算法)\n#### 2. 以一个经纬度为中心计算出四个顶点\n举例说明：\n```c#\nDegree d1 = new Degree(103.66,30.06);\nDegree d2 = new Degree(104.36,30.46);\nvar disctance = ExDegree.GetDistance(d1,d2);\n```\n### V1.0.4:\n#### 添加netframework4.6.1实现\n\n### V1.0.4.1: 均为扩展方法\n#### 更新ExByte\n#### 1.添加获取/设置uint指定位的值\n#### 2.添加字节数组转ushort,uint,long\n#### 3.添加ushort，uint转字节数组\n#### 4.添加字节数组BCD码转DateTime，以及DateTime转BCD码字节数组\n#### 5.字节数组转Double\n\n### V1.0.4.2:\n#### 更新ExByte\n#### 1.添加byte数组获取指定位数的值\n\n### V1.0.4.3:\n#### 更新ExByte\n#### 1.添加设置byte数组指定位的值\n\n### V1.0.4.4\n#### 1.添加通用枚举值Attribute获取\n#### 2.添加int SetBitValue方法\n\n### V1.0.4.5\n#### 添加byte、byte数组的位上是否存在指定值（0，1)的功能 HasBitValue\n\n### V1.0.4.6\n#### 1.添加图片切割扩展方法\n#### 2.添加字节数组转格式化字符串扩展方法\n\n### V1.0.4.7\n#### 修复枚举扩展获取自定义描述，枚举值不存在时的异常\n\n### V1.0.4.8\n#### 修复FileStream实例并未被显式地释放的问题\n#### 新增xml 序列化和反序列化实现实体类深复制\n\n### V1.0.4.9\n#### 新增实体类比较扩展方法\n\n### V1.0.4.10\n#### 新增字符串首字母大小写转换方法\n\n### V1.0.4.11\n#### 新增两个时间判断是否在一天，一周，一月，一季度，半年，一年内（均为自然周月季度年）\n##### 更新中...\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fglibwild%2Fexcollection","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fglibwild%2Fexcollection","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fglibwild%2Fexcollection/lists"}