RaiUtilsCore 3.0.1
dotnet add package RaiUtilsCore --version 3.0.1
NuGet\Install-Package RaiUtilsCore -Version 3.0.1
<PackageReference Include="RaiUtilsCore" Version="3.0.1" />
<PackageVersion Include="RaiUtilsCore" Version="3.0.1" />
<PackageReference Include="RaiUtilsCore" />
paket add RaiUtilsCore --version 3.0.1
#r "nuget: RaiUtilsCore, 3.0.1"
#:package RaiUtilsCore@3.0.1
#addin nuget:?package=RaiUtilsCore&version=3.0.1
#tool nuget:?package=RaiUtilsCore&version=3.0.1
RaiUtils
Random, Email, ParameterDictionary, JSON conversion helpers, and lightweight search expressions.
formerly RaiUtilsCore
2.3.1
- Targets
net10.0and packages asRaiUtilsCore. - 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.
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
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 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 for netstandard2.1, .net10