AXExpansion 1.3.0

dotnet add package AXExpansion --version 1.3.0
                    
NuGet\Install-Package AXExpansion -Version 1.3.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="AXExpansion" Version="1.3.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="AXExpansion" Version="1.3.0" />
                    
Directory.Packages.props
<PackageReference Include="AXExpansion" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add AXExpansion --version 1.3.0
                    
#r "nuget: AXExpansion, 1.3.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.
#:package AXExpansion@1.3.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=AXExpansion&version=1.3.0
                    
Install as a Cake Addin
#tool nuget:?package=AXExpansion&version=1.3.0
                    
Install as a Cake Tool

AXExpansion

Expansions to "vanilla C#".

Mostly extension methods.

Contents

object.Serialize();
object.(S)Print(Ln)(F)(); // S=>Serialize, Ln=>Console.WriteLine(), F=>C-style format, string only. 
object?.IsNull();
string?.IsNull(OrWhiteSpace | OrEmpty)();
IEnumerable<T>.ChunkWith(int countOfChunks); 
IEnumerable<T>.GetRandom(); 
IEnumerable<T>.ElementAtRange(Range r); 
IEnumerable<T>.ElementAtRangeOrDefault(Range r, IEnumerable<T>? @default); 
ICollection<T>.AddRange(IEnumerable<T> s); 
// Fluent methods, where every call returns itself. 
ICollection<T>.FAdd(T s); // Returns the same ICollection<T>.
ICollection<T>.FAddRange(IEnumerable<T> s); 
IList<T>.FRemoveAt(int index); 
string.PathJoin(params string[] paths); 
// StringHelper
StringHelper.RandomString(int length, Format format = Format.Mixed);

NuGet

AXExpansion

AXExpansion.AspNetCore

AXExpansion.Miscellaneous

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 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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.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.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on AXExpansion:

Package Downloads
AXExpansion.Miscellaneous

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.3.0 0 4/6/2026
1.2.2 81 3/25/2026
1.2.1 77 3/25/2026
1.2.0 82 3/25/2026
1.1.0 85 3/18/2026
1.0.0 92 3/6/2026

Extensions to IParsable; Only included in .net 7 ver.