RaiUtilsCore 3.0.1

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

RaiUtils

Random, Email, ParameterDictionary, JSON conversion helpers, and lightweight search expressions.

formerly RaiUtilsCore

2.3.1

  • Targets net10.0 and packages as RaiUtilsCore.
  • Provides utility helpers for:
    • Email syntax validation (Email)
    • JSON token conversion to plain dictionaries/arrays (JsonConversionExtensions)
    • Lowercase key filtering for incoming name-value parameters (ParameterDictionary)
    • Randomization extensions for enumerable/list sources (RandomExtensions)
    • Wildcard-and expression matching against object properties (SearchExpression)

namespace

RaiUtils

classes

<details> <summary>Email: Validates an email address string using regex.</summary>

  • Email: Valid, Invalid, ToString </details>

<details> <summary>JsonConversionExtensions: Converts JObject and JArray to plain .NET dictionary/array trees.</summary>

  • JsonConversionExtensions: ToDictionary, ToArray </details>

<details> <summary>ParameterDictionary: StringDictionary filtered to lowercase keys from NameValueCollection.</summary>

  • ParameterDictionary: constructor with lowercase-key import behavior </details>

<details> <summary>RandomExtensions: Random element selection and shuffle helpers for IEnumerable and IList.</summary>

  • RandomExtensions: Random, Shuffle, TakeAny </details>

<details> <summary>SearchExpression: Parses text search patterns and evaluates matches against object properties.</summary>

  • SearchExpression: ConditionsAsString, IsMatch(object) </details>

dependencies

  • NuGet package dependency: Newtonsoft.Json.
  • No direct code dependency on OsLib types is present in current RaiUtils source.

nuget

https://www.nuget.org/packages/RaiUtilsCore/

diagram

detailed api

  • Foldable class and method-level documentation: API.md

unit tests

solution format

  • Upgraded solution format is available as RaiUtils.slnx (generated with dotnet solution migrate).
Product Compatible and additional computed target framework versions.
.NET 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on RaiUtilsCore:

Package Downloads
JsonPit

Stores json files across servers (synchronized).

RaiImage

Managing image files with meaningful elements in the image name and path.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
3.0.1 78 3/5/2026
2.3.1 104 2/8/2026
2.2.0 1,067 7/23/2022
2.1.1 1,268 10/24/2019
2.1.0 2,624 10/23/2019
1.0.0 1,915 3/15/2019

Version for netstandard2.1, .net10