Csharp-Convert-TS READMEThis plug-in will be used to convert your C# Type to Typescript Type, So that the program can copy the type conversion directly from the back-end when it needs to build a model. 本插件用于:将C#后端类型,通过右键菜单一键转换为TypeScript类型,方便根据后端类型快速建立TS-Model使用。 InstallInstall the CSharp-Convert-TS:
FeaturesAfter copying the CSharp Type, Use the right-click menu or use the shortcut key to convert the type format. 请在安装完插件后,在TS文件内复制C#类,右击转换为TS类型即可,如下图所示: The following will show you how to convert the copied type through the right-click menu: Extension SettingsYou can set specific types you need to convert through For example: This extension contributes the following settings: CSharp Type: Typescript Type Known Issues目前仅支持基础值类型和引用类型,集合,动态类型转换,暂不支持转换以下复杂类型: 1.Dictionary<T,T> 2.HashTable 3.ConcurrentDictionary 4.Custom class 5.Other types not listed... For more informationAt present, it is a beta version, and its function is not stable. If you have any suggestions, you are welcome to raise questions in GitHub project. |