Carubbi.Extensions 1.2.3

.NET Framework 4.6.2
NuGet\Install-Package Carubbi.Extensions -Version 1.2.3
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
dotnet add package Carubbi.Extensions --version 1.2.3
<PackageReference Include="Carubbi.Extensions" Version="1.2.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Carubbi.Extensions --version 1.2.3
#r "nuget: Carubbi.Extensions, 1.2.3"
#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 Carubbi.Extensions as a Cake Addin
#addin nuget:?package=Carubbi.Extensions&version=1.2.3

// Install Carubbi.Extensions as a Cake Tool
#tool nuget:?package=Carubbi.Extensions&version=1.2.3

Carubbi.Extensions

A simple library extension-method based to common tasks

  • Datatype conversions:

Rather than

int? intVariable;
try
{
    intVariable = Convert.ToInt32(str);
}
catch(Exception ex)
{
    intVariable = defaultValue;
}

or

  if (!int.TryParse(str, out int intValue))
  {
      intValue = defaultValue;
  }

You just use

int? intVariable = str.To<int>(defaultValue);
Product Versions
.NET Framework net462 net463 net47 net471 net472 net48
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (13)

Showing the top 5 NuGet packages that depend on Carubbi.Extensions:

Package Downloads
Carubbi.DiffAnalyzer

Analisador de diferenças entre objetos

Carubbi.Cards

A simple and powerfull card games framework

Carubbi.ObjectXMFDisplay

Simulador de Emulador de Terminal Mainframe baseado na interface do Microfocus Rumba

Carubbi.Google.TTS

Google Text-to-speech proxy

Carubbi.Mainframe

Wrapper de Emulador de Terminal Mainframe Microfocus Rumba

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.2.3 1,070 11/4/2018
1.2.2 982 9/10/2018
1.2.1 575 9/10/2018
1.2.0 562 9/10/2018
1.1.0 1,279 8/30/2018
1.0.0 1,817 8/20/2018