RaiUtilsCore 3.5.0
dotnet add package RaiUtilsCore --version 3.5.0
NuGet\Install-Package RaiUtilsCore -Version 3.5.0
<PackageReference Include="RaiUtilsCore" Version="3.5.0" />
<PackageVersion Include="RaiUtilsCore" Version="3.5.0" />
<PackageReference Include="RaiUtilsCore" />
paket add RaiUtilsCore --version 3.5.0
#r "nuget: RaiUtilsCore, 3.5.0"
#:package RaiUtilsCore@3.5.0
#addin nuget:?package=RaiUtilsCore&version=3.5.0
#tool nuget:?package=RaiUtilsCore&version=3.5.0
RaiUtils
Random, Email, ParameterDictionary, JSON conversion helpers, and lightweight search expressions.
formerly RaiUtilsCore
3.5.0
- Targets
net10.0and packages asRaiUtilsCore. - Aligns documentation with the shared
3.5.0package line. - 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/RaiUtilsCore/
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.5.0.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
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
3.5.0 documents the shared RAIkeep package alignment and config contract used alongside OsLib and JsonPit.