Doulex 5.16.0

dotnet add package Doulex --version 5.16.0                
NuGet\Install-Package Doulex -Version 5.16.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="Doulex" Version="5.16.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Doulex --version 5.16.0                
#r "nuget: Doulex, 5.16.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 Doulex as a Cake Addin
#addin nuget:?package=Doulex&version=5.16.0

// Install Doulex as a Cake Tool
#tool nuget:?package=Doulex&version=5.16.0                

Doulex

Build status GitHub issues GitHub license

Doulex is a toolkits for daily devs.

Nuget packages

Name Version Downloads
Doulex nuget stats

Usage

Basic usage

ObjectExtensions.RemoveNullProperty

RemoveNullProperty can remove null property from object.

var origin = new
{
    Name    = "John",
    Age     = 30,
    Address = (string?) null,
    Married = (bool?) null,
};
var newDynamic = origin.RemoveNullProperty();

// we got a new dynamic object without null property
// {
//     Name = "John",
//     Age = 30,
// }
DisposeTracking

DisposeTracking can let you make call when object is out of scope.

var obj = 100; // your object
using (var tracker = new DisposeTracking(obj, () => Console.WriteLine("Object is disposed.")))
{
    Console.WriteLine(tracker);     // output is 100
    // do something else
}
// output is "Object is disposed."
DoubleExtensions.AlmostEquals

Compare double values with a tolerance

using Doulex;

double a = 10.5;
a.AlmostEquals(10.5); // true

Final

Leave a comment on GitHub if you have any questions or suggestions.

Turn on the star if you like this project.

License

This project is licensed under the MIT License

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  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.  net8.0 was computed.  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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 is compatible. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Doulex:

Package Downloads
Doulex.AspNetCore.Abstractions

Asp net core project toolkit

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
5.16.0 127 4/18/2024
5.15.0 110 4/18/2024
5.14.0 106 4/18/2024
5.13.0 141 4/12/2024
5.12.0 142 4/8/2024
5.11.0 153 3/8/2024
5.10.0 197 2/18/2024
5.9.0 245 1/18/2024
5.8.0 277 12/20/2023
5.7.0 276 12/14/2023
5.6.0 577 2/27/2023
5.5.0 629 2/24/2023
5.4.1 579 2/17/2023
5.4.0 585 2/16/2023
5.3.0 609 2/14/2023
5.2.0 585 2/7/2023
5.1.0 644 1/31/2023
5.0.1 646 1/30/2023
5.0.0 623 1/30/2023
4.0.1 632 1/14/2023
4.0.0 611 1/14/2023
3.0.0 653 1/12/2023
2.0.2 683 1/4/2023
2.0.1 658 1/4/2023
2.0.0 606 1/4/2023
1.4.0 668 12/28/2022
1.3.0 696 12/28/2022
1.2.0 646 12/23/2022
1.1.8 645 12/22/2022
1.1.7 693 12/22/2022
1.1.6 621 12/21/2022
1.1.5 673 11/23/2022
1.1.4 580 11/17/2022
1.1.3 756 10/21/2022
1.1.2 783 10/20/2022
1.1.1 733 10/20/2022
1.1.0 1,255 9/29/2022
1.0.2 760 9/29/2022
1.0.1 808 9/28/2022