HyperDev.Utilities
1.2.1
dotnet add package HyperDev.Utilities --version 1.2.1
NuGet\Install-Package HyperDev.Utilities -Version 1.2.1
<PackageReference Include="HyperDev.Utilities" Version="1.2.1" />
<PackageVersion Include="HyperDev.Utilities" Version="1.2.1" />
<PackageReference Include="HyperDev.Utilities" />
paket add HyperDev.Utilities --version 1.2.1
#r "nuget: HyperDev.Utilities, 1.2.1"
#:package HyperDev.Utilities@1.2.1
#addin nuget:?package=HyperDev.Utilities&version=1.2.1
#tool nuget:?package=HyperDev.Utilities&version=1.2.1
HyperDev.Utilities
Business objects and text exchange utilities for .NET, part of the HyperDev Fatum framework.
- Business rules (
HyperDev.Objects):BusinessContextandBusinessUnit<T>to attach rules to a graph of data objects, with per-property state (information, lock, warning, error) collected asStateEntryandStateMessage - Data composition (
HyperDev.Objects):DataComposerto build composed objects from several data components (arrays, lists, subsets) - Value conversion (
HyperDev.Objects):ValueConverterto format, parse and convert values with a given culture - Property rows (
HyperDev.Model):PropertyRowandPropertyRowCollection<T>to read sequences of property references as typed rows - Text exchange (
HyperDev.Data.Exchange): fixed-width (FixedTextBuffer) and delimited (CSVTextBuffer) records with typed, padded columns, and aCSVWriterthat splits large files into parts
Installation
dotnet add package HyperDev.Utilities
Quick start
A fixed-width record is a class that declares its columns:
using HyperDev.Data.Exchange;
var record = new CustomerRecord();
record.Set("Code", 42);
record.Set("Name", "Wemake");
string line = record.Content; // "000042Wemake "
record.Content = line;
int code = (int)record.Get("Code"); // 42
public class CustomerRecord : FixedTextBuffer
{
protected override IEnumerable<TextColumn> GetColumns()
{
yield return CreateColumn("Code", new IntType(6), 0, 6);
yield return CreateColumn("Name", new StringType(), 6, 30);
}
}
Numeric columns are padded with leading zeros, string columns with trailing spaces.
Target frameworks
.NET 8.0, .NET 10.0
License
MIT, © Ivan Senatore, Wemake Informatica srl. Third-party dependencies keep their own licenses (Microsoft.EntityFrameworkCore and Microsoft.Extensions.*: MIT, Newtonsoft.Json: MIT; through HyperDev.Text.Json also Antlr4.Runtime: BSD-3-Clause, Newtonsoft.Json.Schema: commercial or AGPL-3.0).
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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 was computed. 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. |
-
net10.0
- HyperDev.Core (>= 1.2.4)
- HyperDev.Data (>= 1.2.2)
- HyperDev.Text.Json (>= 1.2.3)
-
net8.0
- HyperDev.Core (>= 1.2.4)
- HyperDev.Data (>= 1.2.2)
- HyperDev.Text.Json (>= 1.2.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.