{"id":20299854,"url":"https://github.com/emilyedna/xexten","last_synced_at":"2025-07-05T13:39:10.095Z","repository":{"id":121211947,"uuid":"175754479","full_name":"EmilyEdna/XExten","owner":"EmilyEdna","description":"开发实用扩展工具包","archived":false,"fork":false,"pushed_at":"2023-03-03T23:38:44.000Z","size":872,"stargazers_count":4,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-08T21:46:33.886Z","etag":null,"topics":["commontools","linq"],"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/EmilyEdna.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":"2019-03-15T05:29:03.000Z","updated_at":"2024-05-29T16:03:13.000Z","dependencies_parsed_at":"2023-06-09T09:15:39.233Z","dependency_job_id":null,"html_url":"https://github.com/EmilyEdna/XExten","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmilyEdna%2FXExten","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmilyEdna%2FXExten/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmilyEdna%2FXExten/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmilyEdna%2FXExten/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EmilyEdna","download_url":"https://codeload.github.com/EmilyEdna/XExten/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248406865,"owners_count":21098317,"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":["commontools","linq"],"created_at":"2024-11-14T16:16:33.353Z","updated_at":"2025-04-11T13:15:11.746Z","avatar_url":"https://github.com/EmilyEdna.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"### [\u003cfont color=red\u003eXExten\u003c/font\u003e](https://github.com/EmilyEdna/XExten/blob/master/README.md)|[\u003cfont color=red\u003eSocketProxy\u003c/font\u003e](https://github.com/EmilyEdna/XExten/blob/master/SocketProxyREADME.md)|[\u003cfont color=red\u003eSocketProxyServer\u003c/font\u003e](https://github.com/EmilyEdna/XExten/blob/master/SocketProxyServerREADME.md)|[\u003cfont color=red\u003eProfile\u003c/font\u003e](https://github.com/EmilyEdna/XExten/blob/master/TraceDiagnosticREADME.md)\n--------------\n#### 对LINQ进行了扩展和修改，扩展了表达式和httpclient的封装。支持Redis、mongodb、memorycache等缓存机制。通过emit创建动态类，读取XML，创建二维码，支持protobuf序列化，excel通用导入导出，支持MessagePack序列化，支持简单的消息队列。\n[![](https://img.shields.io/badge/build-success-brightgreen.svg)](https://github.com/EmilyEdna/XExten)\n[![](https://img.shields.io/badge/nuget-v2.2.6.1-blue.svg)](https://www.nuget.org/packages/XExten/2.2.6.1)\n![](https://img.shields.io/badge/Download-7K-brightgreen)\n### [如何使用](https://github.com/EmilyEdna/XExten/wiki) \n--------------\n##### 使用linq的拓展需要引入XExten.XCore域名空间\n``` c#\n[Fact]\npublic void ToOver_Test()\n{\n  List\u003cTestA\u003e Li = new List\u003cTestA\u003e();\n  Li.ToOver(t =\u003e t.Name);\n}\n```\n--------------\n##### 使用expression的拓展需要引入XExten.XExpres域名空间\n```c#\n[Fact]\npublic void GetExpression_Test()\n{\n   string[] arr = new[] { \"Id\", \"Name\" };\n   var res = XExp.GetExpression\u003cTestA\u003e(arr);\n}\n```\n--------------\n##### 使用Commom工具类需要引入XExten.XPlus域名空间\n```c#\n[Fact]\npublic void XBarHtml_Test()\n{\n    var res = XPlusEx.XBarHtml(\"ABC\", 3, 50);\n}\n```\n--------------\n##### 使用HttpClient需要XExten.HttpFactory,使用DynamicType需要XExten.DynamicType.\n##### 在项目中同时支持使用memoryCache,redis,mongodb\n##### 具体如何使用消息队列测试\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femilyedna%2Fxexten","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femilyedna%2Fxexten","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femilyedna%2Fxexten/lists"}