Codync
免費、開源的 1:1 替代方案,取代 Grok Bot 與 Muse。從 iPhone、Mac 或 Linux 桌面將 Claude Code、Codex、Cursor 與 40+ 程式碼代理人作為持續機器人傳訊。群組聊天、主題串…
AI 翻譯
尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證A tiny library that generates the human-readable name of any System.Type in C# notation
翻譯準備中
取自儲存庫 README
正在載入完整 README。
檢視完整 README ↗MikeNakis.CSharpTypeNames is a tiny library that generates human-readable dotnet type names in C# notation.
To understand what problem this library solves, see the following blog post:
MikeNakis.CSharpTypeNames exposes a single extension method on System.Type which can be used as a universal replacement for the Name and FullName properties of System.Type.
The method accepts an optional parameter which can be used to customize the generated name. For example, you can choose:
System.Nullable<T> to be replaced with T?System.ValueTuple<T1,T2> to be replaced with (T1,T2)It works pretty well. I do not know of any cases that it does not handle correctly.
The test project exercises this library against a wide array of test cases, many of which are quite creative, and they are all handled flawlessly.
The drill project exercises this library against 13K types (and their nested types) in the DotNet SDK, and it handles them all flawlessly too.
This gives sufficient reason to believe that MikeNakis.CSharpTypeNames works correctly.
MikeNakis.CSharpTypeNames is quite efficient:
StringBuilder instead of string concatenation.The MikeNakis.CSharpTypeNames.Drill project takes less than 30 milliseconds to generate the human-readable names of 13K types found in the DotNet SDK.
The dll is less than 10 kilobytes.
MikeNakis.CSharpTypeNames does not have any dependencies.
It targets netstandard2.0, so you can use it not only in projects targeting netcore, but also in projects targeting netframework.
(The test and drill projects target net8.0 and do have a few dependencies each, but that is irrelevant.)
using MikeNakis.CSharpTypeNames.Extensions;
string typeName = typeof( int ).GetCSharpName();
This project is still in an early state of development, and I want to retain the ability to refactor it as I see fit, so, for now:
No License. (All rights reserved.)
For more information, see LICENSE.md
This project is written using my very own™ coding style.
More information: michael.gr - On Coding Style
Cover image: The MikeNakis.CSharpTypeNames logo, by Mike Nakis.