SumoMobi.T2O 2.0.0

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.

There is a newer version of this package available.
See the version list below for details.
Install-Package SumoMobi.T2O -Version 2.0.0
dotnet add package SumoMobi.T2O --version 2.0.0
<PackageReference Include="SumoMobi.T2O" Version="2.0.0">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SumoMobi.T2O --version 2.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: SumoMobi.T2O, 2.0.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install SumoMobi.T2O as a Cake Addin
#addin nuget:?package=SumoMobi.T2O&version=2.0.0

// Install SumoMobi.T2O as a Cake Tool
#tool nuget:?package=SumoMobi.T2O&version=2.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Simplified the interface

  • net5.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
2.0.1 50 9/2/2021
2.0.0 52 8/27/2021
1.0.2 44 8/25/2021
1.0.1 49 8/25/2021
1.0.0 46 8/23/2021