Aoxe.Extensions 2025.2.2

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

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

Aoxe.Extensions

License: MIT Stars Forks


Aoxe.Extensions is a powerful C# library that provides a rich set of extension methods to enhance your development experience and boost productivity. Our goal is to simplify common programming tasks and make your code more readable and maintainable.

๐Ÿš€ Features

  • ๐Ÿงฉ Extensive collection of extension methods for built-in C# types
  • ๐ŸŽฏ Designed to reduce boilerplate code and improve readability
  • ๐Ÿ”ง Easy to use with a fluent API design
  • ๐Ÿ“š Comprehensive documentation and examples
  • โšก High-performance implementations
  • ๐Ÿ”’ Thread-safe operations where applicable
  • ๐Ÿงช Thoroughly tested with high code coverage

๐Ÿ“ฆ Installation

Install Aoxe.Extensions via Clr:

PM> Install-Package Aoxe.Extensions

๐Ÿ”ง Usage

To use Aoxe.Extensions in your project, add the following using statement:

using Aoxe.Extensions;

๐ŸŒŸ Examples

Aoxe.Extensions is based on the idea of fluent style, providing a huge number of extension methods to extend C#, thus making the C# language more readable.

// Exception handling
try
{
    throw new InvalidOperationException("Outer", 
        new ArgumentException("Inner", 
            new NullReferenceException("Inmost")));
}
catch (Exception ex)
{
    var inmostException = ex.GetInmostException();
    Console.WriteLine($"Inmost exception message: {inmostException.Message}");
    // Output: Inmost exception message: Inmost
}

// String extensions
string text = "Hello, World!";
Console.WriteLine(text.IsNullOrEmpty());  // False
Console.WriteLine(text.Truncate(8));      // "Hello..."

// Collection extensions
var numbers = new List<int> { 1, 2, 3, 4, 5 };
Console.WriteLine(numbers.IsNullOrEmpty());  // False
var evenNumbers = numbers.Where(n => n % 2 == 0);
Console.WriteLine(string.Join(", ", evenNumbers));  // 2, 4

// DateTime extensions
var date = DateTime.UtcNow;
Console.WriteLine(date.ToUnixTimeSeconds());

// Enum extensions
public enum Color { Red, Green, Blue }
var color = Color.Red;
Console.WriteLine(color.GetDescription());

// Numeric extensions
int number = 42;
Console.WriteLine(number.IsEven());  // True

These examples showcase potential usage of extension methods that might be included in the Aoxe.Extensions library. The actual implementation and available methods may vary, so it's recommended to refer to the official documentation or source code for accurate usage information.

[Source: https://github.com/AoxeTech/Aoxe.Extensions]


Thank`s for JetBrains for the great support in providing assistance and user-friendly environment for my open source projects.

JetBrains

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 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.  net9.0 is compatible. 
.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 was computed. 
.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 (33)

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

Package Downloads
Aoxe.Compressor.Abstractions

The abstractions for Aoxe.Compressor

Aoxe.Extensions.Configuration.Flattener.Xml

The Aoxe Configuration flattener implement by Microsoft.Extensions.Configuration.Xml.

Aoxe.Cryptography.Abstractions

The abstractions of Aoxe.Cryptography.

Aoxe.Extensions.Configuration.Flattener.NewtonsoftJson

The Aoxe Configuration flattener implement by Newtonsoft.Json.

Aoxe.Extensions.Configuration.Flattener.YamlDotNet

The Aoxe Configuration flattener implement by YamlDotNet.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2025.2.2 42 12/20/2024
2025.2.1 41 12/20/2024
2025.2.0 100 11/21/2024
2025.1.0 1,972 11/14/2024
2024.3.0 1,000 11/4/2024
2024.2.4 5,368 9/5/2024
2024.2.2 1,641 8/28/2024
2024.2.1 5,304 7/18/2024
2024.2.0 82 7/17/2024
2024.1.1 1,475 6/10/2024
2024.1.0 113 6/8/2024