SkillAgentSearch skills...

CsToTypeScriptModelConverter

A visual studio extension that allows to convert CSharp class to TypeScript class

Install / Use

/learn @AdrianGajewskiDev/CsToTypeScriptModelConverter
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

CsToTypeScriptModelConverter

Convert C# Models, ViewModels and DTOs into their TypeScript equivalents.

Link: https://marketplace.visualstudio.com/items?itemName=AdrianDev.exr123


Usage:

Paste the CSharp class and click "Convert"

Paste Image

Result:

Paste Image


Using the CLI tool

Description

This CLI tool allows to convert multiple code files and save them to specified directory without doing it one by one.

Requirements:

  • Visual Studio 2019
  • Dotnet SDK

Usage:

  • Clone the repository
  • Go to project root directory
  • Run:
    dotnet build
    
  • Go to Converter.CLI\bin\Debug\netcoreapp3.1\win7-x64 and call
    dotnet ConverterCLI.dll f  --dir <path of files to convert> --out <your output directory> 
    

Sample:

Sample gif

Related Skills

View on GitHub
GitHub Stars7
CategoryDevelopment
Updated4y ago
Forks0

Languages

C#

Security Score

55/100

Audited on Dec 12, 2021

No findings