RaiUtils 3.7.2
dotnet add package RaiUtils --version 3.7.2
NuGet\Install-Package RaiUtils -Version 3.7.2
<PackageReference Include="RaiUtils" Version="3.7.2" />
<PackageVersion Include="RaiUtils" Version="3.7.2" />
<PackageReference Include="RaiUtils" />
paket add RaiUtils --version 3.7.2
#r "nuget: RaiUtils, 3.7.2"
#:package RaiUtils@3.7.2
#addin nuget:?package=RaiUtils&version=3.7.2
#tool nuget:?package=RaiUtils&version=3.7.2
RaiUtils
Random, Email, ParameterDictionary, JSON conversion helpers, and lightweight search expressions.
formerly RaiUtilsCore
3.7.2
- Patch: aligns with OsLibCore 3.7.2 in the current publish order.
- No API surface change in RaiUtils for this patch release.
3.7.1
- Patch: aligns with
OsLibCore 3.7.1in the correct NuGet publish order. - Documents the supported cloud-backed provider claim used with OsLib and JsonPit:
OneDrive,GoogleDrive, andDropbox. - Notes the JsonPit identifier migration from
NametoId, including legacy normalization behavior. - 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)
- Email syntax validation (
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.
cross-package cloud root convention
RaiUtils does not resolve cloud roots itself, but it is intended to stay compatible with the same machine-local configuration contract used by OsLib and JsonPit.
Recommended shared contract across .NET and upcoming Python packages:
- Use
osconfig.jsonfor explicit cloud roots. - Rely on
~/.config/RAIkeep/osconfig.jsonon macOS/Linux or%APPDATA%\RAIkeep\osconfig.jsonon Windows. - Reuse the same
cloudkeys:dropbox,onedrive,googledrive. - Prefer explicit Ubuntu Google Drive configuration over probe-only assumptions when packages are used together in development or deployment tooling.
- Treat
OneDrive,GoogleDrive, andDropboxas the current supported provider set for the packaged stack.
nuget
https://www.nuget.org/packages/RaiUtils/
diagram
- Source: RaiUtils-ClassDiagram.puml
- Rendered SVG: RaiUtils-ClassDiagram.svg
- CLI render (if PlantUML is installed):
plantuml RaiUtils-ClassDiagram.puml - VS Code: open the
.pumlfile and use a PlantUML preview/render extension.
detailed api
- Foldable class and method-level documentation: API.md
release notes
- Current release notes: RELEASE_NOTES_3.7.2.md
unit tests
- Local unit tests are in tests/RaiUtils.Tests.
- Run from
RaiUtilsroot:dotnet test RaiUtils.slnx
solution format
- Upgraded solution format is available as
RaiUtils.slnx(generated withdotnet solution migrate).
| Product | Versions 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. |
-
net10.0
- Newtonsoft.Json (>= 13.0.4)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on RaiUtils:
| 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.
3.7.2 patch: release alignment after OsLibCore 3.7.2 with no API surface change.