MTT 0.1.0
See the version list below for details.
dotnet add package MTT --version 0.1.0
NuGet\Install-Package MTT -Version 0.1.0
<PackageReference Include="MTT" Version="0.1.0" />
paket add MTT --version 0.1.0
#r "nuget: MTT, 0.1.0"
// Install MTT as a Cake Addin #addin nuget:?package=MTT&version=0.1.0 // Install MTT as a Cake Tool #tool nuget:?package=MTT&version=0.1.0
Models To Typescript
-- Only converts public properties
-- Matches the directory structure of the models, however it only checks 1 lower directory from Working Directory
Options
Working Directory is the input directory of the cs models
Convert Directory is the output directory of the ts models
Example .csproj
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp1.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="MTT" Version="0.1.0-*" PrivateAssets="All" />
</ItemGroup>
<Target Name="Convert" BeforeTargets="PrepareForBuild">
<MTT WorkingDirectory="Resources/" ConvertDirectory="models/"/>
</Target>
</Project>
Notes
Does not apply the keyword Resource from the C# models to the Typescript models
If a Convert Directory is supplied, it will be deleted everytime script is ran and remade
Follows the case and naming conventions of each language.
WARNING
-- Does not apply inheritence
-- Does not convert enums
-- Does not look for private properties
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 1.6
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on MTT:
Package | Downloads |
---|---|
BindOpen.Messages.IO.Dtos
A package to easily deal with feeds. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
0.7.2 | 43,965 | 8/15/2021 |
0.7.1 | 17,081 | 6/25/2021 |
0.7.0 | 4,076 | 4/5/2021 |
0.6.5 | 32,848 | 2/16/2020 |
0.6.3 | 1,791 | 11/17/2019 |
0.6.1 | 2,094 | 8/8/2019 |
0.6.0 | 848 | 8/5/2019 |
0.5.9 | 803 | 7/24/2019 |
0.5.8 | 849 | 7/11/2019 |
0.5.7 | 3,135 | 5/31/2019 |
0.5.6 | 888 | 4/24/2019 |
0.5.5 | 1,264 | 4/7/2019 |
0.5.4 | 30,567 | 10/18/2018 |
0.5.3 | 1,491 | 9/8/2018 |
0.5.2 | 1,027 | 9/8/2018 |
0.5.1 | 1,059 | 9/8/2018 |
0.5.0 | 1,097 | 9/8/2018 |
0.4.7 | 1,394 | 8/6/2018 |
0.4.6 | 1,279 | 7/9/2018 |
0.4.5 | 1,143 | 6/21/2018 |
0.4.4 | 2,495 | 6/14/2018 |
0.4.3 | 1,409 | 4/13/2018 |
0.4.1 | 1,279 | 4/12/2018 |
0.4.0 | 1,299 | 4/11/2018 |
0.3.3 | 1,218 | 3/16/2018 |
0.3.2 | 1,300 | 3/9/2018 |
0.3.1 | 1,507 | 3/6/2018 |
0.3.0 | 1,592 | 3/5/2018 |
0.2.3 | 1,117 | 2/22/2018 |
0.2.2 | 1,268 | 2/11/2018 |
0.2.1 | 1,323 | 2/10/2018 |
0.2.0 | 1,243 | 2/10/2018 |
0.1.6 | 1,254 | 2/8/2018 |
0.1.5 | 1,292 | 2/8/2018 |
0.1.4 | 1,235 | 2/8/2018 |
0.1.1 | 1,251 | 2/2/2018 |
0.1.0 | 1,170 | 2/2/2018 |