Doulex 1.1.7

There is a newer version of this package available.
See the version list below for details.
dotnet add package Doulex --version 1.1.7                
NuGet\Install-Package Doulex -Version 1.1.7                
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="1.1.7" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Doulex --version 1.1.7                
#r "nuget: Doulex, 1.1.7"                
#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=1.1.7

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

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 125 4/18/2024
5.15.0 107 4/18/2024
5.14.0 103 4/18/2024
5.13.0 137 4/12/2024
5.12.0 141 4/8/2024
5.11.0 151 3/8/2024
5.10.0 192 2/18/2024
5.9.0 242 1/18/2024
5.8.0 275 12/20/2023
5.7.0 274 12/14/2023
5.6.0 574 2/27/2023
5.5.0 628 2/24/2023
5.4.1 577 2/17/2023
5.4.0 583 2/16/2023
5.3.0 607 2/14/2023
5.2.0 583 2/7/2023
5.1.0 641 1/31/2023
5.0.1 644 1/30/2023
5.0.0 620 1/30/2023
4.0.1 629 1/14/2023
4.0.0 610 1/14/2023
3.0.0 650 1/12/2023
2.0.2 681 1/4/2023
2.0.1 656 1/4/2023
2.0.0 604 1/4/2023
1.4.0 666 12/28/2022
1.3.0 693 12/28/2022
1.2.0 644 12/23/2022
1.1.8 641 12/22/2022
1.1.7 690 12/22/2022
1.1.6 619 12/21/2022
1.1.5 671 11/23/2022
1.1.4 579 11/17/2022
1.1.3 753 10/21/2022
1.1.2 781 10/20/2022
1.1.1 730 10/20/2022
1.1.0 1,251 9/29/2022
1.0.2 756 9/29/2022
1.0.1 804 9/28/2022