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 68 4/18/2024
5.15.0 70 4/18/2024
5.14.0 67 4/18/2024
5.13.0 94 4/12/2024
5.12.0 105 4/8/2024
5.11.0 103 3/8/2024
5.10.0 145 2/18/2024
5.9.0 204 1/18/2024
5.8.0 237 12/20/2023
5.7.0 245 12/14/2023
5.6.0 537 2/27/2023
5.5.0 599 2/24/2023
5.4.1 522 2/17/2023
5.4.0 549 2/16/2023
5.3.0 570 2/14/2023
5.2.0 549 2/7/2023
5.1.0 606 1/31/2023
5.0.1 617 1/30/2023
5.0.0 587 1/30/2023
4.0.1 598 1/14/2023
4.0.0 584 1/14/2023
3.0.0 617 1/12/2023
2.0.2 648 1/4/2023
2.0.1 625 1/4/2023
2.0.0 572 1/4/2023
1.4.0 634 12/28/2022
1.3.0 660 12/28/2022
1.2.0 610 12/23/2022
1.1.8 608 12/22/2022
1.1.7 653 12/22/2022
1.1.6 588 12/21/2022
1.1.5 639 11/23/2022
1.1.4 546 11/17/2022
1.1.3 718 10/21/2022
1.1.2 749 10/20/2022
1.1.1 693 10/20/2022
1.1.0 1,171 9/29/2022
1.0.2 729 9/29/2022
1.0.1 763 9/28/2022