dotnet add package SumoMobi.T2O --version 2.0.1
NuGet\Install-Package SumoMobi.T2O -Version 2.0.1
<PackageReference Include="SumoMobi.T2O" Version="2.0.1"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
paket add SumoMobi.T2O --version 2.0.1
#r "nuget: SumoMobi.T2O, 2.0.1"
// Install SumoMobi.T2O as a Cake Addin #addin nuget:?package=SumoMobi.T2O&version=2.0.1 // Install SumoMobi.T2O as a Cake Tool #tool nuget:?package=SumoMobi.T2O&version=2.0.1
A single statement/line of code in your API converts a set of Query String parameters (or Form fields) into a .NET class' properties. T2O is about converting Text to Objects. Along the way, T2O applies ample input data validation.
Optionally, decorate the class properties with T2O attributes to enforce further validation -- for instance, decorate a 'double' property with T2O's 'Latitude' attribute and T2O ensures the parameter value cannot be less than -90 nor greater than 90.
|Product||Versions Compatible and additional computed target framework versions.|
|.NET||net5.0 is compatible. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed.|
- No dependencies.
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.
Usage violation errors contain links to relevant T2O documentation.