Quicksilver.DataConversion 1.1.0

dotnet add package Quicksilver.DataConversion --version 1.1.0                
NuGet\Install-Package Quicksilver.DataConversion -Version 1.1.0                
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.
<PackageReference Include="Quicksilver.DataConversion" Version="1.1.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Quicksilver.DataConversion --version 1.1.0                
#r "nuget: Quicksilver.DataConversion, 1.1.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Quicksilver.DataConversion as a Cake Addin
#addin nuget:?package=Quicksilver.DataConversion&version=1.1.0

// Install Quicksilver.DataConversion as a Cake Tool
#tool nuget:?package=Quicksilver.DataConversion&version=1.1.0                

Quicksilver Helpers

This repository was created by Navid Sargheiny as a simple library to simplify data conversion, especially value type conversion. It has features such as understanding null values and providing default values in null cases.

Installation

Use the package manager Nuget to install Quicksilver.DataConversion

dotnet add package Quicksilver.DataConversion

Usage

There are multiple capabilities available in this library, which I will explain below. Here are some examples of utilizing data conversion:

String Helpers

using Quicksilver.DataConversion;

            var d = "2.34";
            d.ToDouble(); //2.34

            double? d1 = null;
            d1.ToDouble(1.44); //1.44

            d1.ToNullableDouble(); //null

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  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 is compatible.  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.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net6.0

    • No dependencies.
  • net7.0

    • No dependencies.
  • net8.0

    • No dependencies.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on Quicksilver.DataConversion:

Package Downloads
Quicksilver.StringHelpers

This repository was created by Navid Sargheiny as a simple library utility to help with strings, especially Persian strings. It has many features, such as providing plural commas, fixing Arabic texts within Farsi texts, and converting numbers into Persian strings.

Quicksilver.PersianDate

This repository was created by Navid Sargheiny as a simple library to utilize Persian date capabilities. It has many features, such as providing different types of Persian dates and offering means to extract Persian dates as Persian text.

Quicksilver.PictureResizer

This repository was created by Navid Sargheiny as a simple library for resizing pictures (jpg, jpeg, png) using the SkiaSharp library. It can also provide thumbnail pictures.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.1.0 186 6/27/2024
1.0.0 200 6/21/2024

To Boolean From Integer added