JJ.Framework.Common.Core 4.6.6251

Prefix Reserved
dotnet add package JJ.Framework.Common.Core --version 4.6.6251
                    
NuGet\Install-Package JJ.Framework.Common.Core -Version 4.6.6251
                    
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="JJ.Framework.Common.Core" Version="4.6.6251" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="JJ.Framework.Common.Core" Version="4.6.6251" />
                    
Directory.Packages.props
<PackageReference Include="JJ.Framework.Common.Core" />
                    
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 JJ.Framework.Common.Core --version 4.6.6251
                    
#r "nuget: JJ.Framework.Common.Core, 4.6.6251"
                    
#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 JJ.Framework.Common.Core@4.6.6251
                    
#: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=JJ.Framework.Common.Core&version=4.6.6251
                    
Install as a Cake Addin
#tool nuget:?package=JJ.Framework.Common.Core&version=4.6.6251
                    
Install as a Cake Tool

JJ.Framework.Common.Core

General-purpose utilities with minimal dependencies.
An extension to JJ.Framework.Common.Legacy.

  • NameHelper

    • Name() returns the current method name or current property name.
    • TextOf(...) gets the string representation of an expression.

  • Flagging

    • Sets or gets flags from bit fields (ints) and flag enums.
      These otherwise require (hard to remember) bit operations.
      These can help you in a moment of confusion:

    • HasFlag to ask: "Is this bit or flag set?"

    • SetFlag / ClearFlag toggles a single flag

    • SetFlags / ClearFlags when you've got a collection of flags


  • EnvironmentHelper

    • EnvironmentVariableIsDefined method: shorthand to check if an environment variable is defined with a specific key and value.

  • ConfigurationHelperCore

    • TryGetSection method that complements GetSection but now when the configuration section is not found, null is returned, instead of a crash. (This helper avoids direct use of System.Configuration.)

  • OverloadByName / NameOvl

    • Allows overloading by parameter name, which you normally cannot do:
      MyMethod(10, arg: true);
      MyMethod(10, differentArg: true);
      
    • One of those methods has a hidden optional parameter:
      void MyMethod(int num, bool arg);
      void MyMethod(int num, bool differentArg, OverloadByName ovl = default);
      

Release Notes

2026-02-17 | 3.7 : Clash of the Booleans
  • OverloadByName helper for an optional parameter trick to simulate overloading by name, not normally possible in C#.

💬 Feedback

Found an issue? Let me know.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  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 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.  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 is compatible.  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. 
.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 JJ.Framework.Common.Core:

Package Downloads
JJ.Framework.Existence.Core

Has(text), Coalesce(a,b,c), list.Where(FilledIn) to replace garbage like !Equals(x, default(T?)) && !Equals(x, default(T)) and string.IsNullOrWhiteSpace(text). Fallbacks, emptiness checks coded like you mean it.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
4.6.6251 149 4/25/2026
4.5.6073 159 4/8/2026
4.4.6001 144 4/4/2026
4.1.5729 146 3/16/2026
4.1.5705 137 3/15/2026
4.0.5600 151 3/13/2026
3.9.5203 150 2/26/2026
3.8.4991 158 2/23/2026
3.8.4987 137 2/23/2026
3.7.4821 148 2/17/2026
3.4.4554 422 2/1/2026
3.3.4542 167 1/31/2026
3.2.4531 178 1/31/2026
3.2.4511 170 1/31/2026
3.1.4474 185 1/28/2026
3.0.4463 158 1/27/2026
2.9.4415 178 1/25/2026
2.8.4205 605 7/21/2025
2.7.3304 158 7/5/2025
Loading failed