Oakrey.DataTypes
2.1.0
dotnet add package Oakrey.DataTypes --version 2.1.0
NuGet\Install-Package Oakrey.DataTypes -Version 2.1.0
<PackageReference Include="Oakrey.DataTypes" Version="2.1.0" />
<PackageVersion Include="Oakrey.DataTypes" Version="2.1.0" />
<PackageReference Include="Oakrey.DataTypes" />
paket add Oakrey.DataTypes --version 2.1.0
#r "nuget: Oakrey.DataTypes, 2.1.0"
#:package Oakrey.DataTypes@2.1.0
#addin nuget:?package=Oakrey.DataTypes&version=2.1.0
#tool nuget:?package=Oakrey.DataTypes&version=2.1.0
Oakrey.DataTypes
1. Overview
The "Oakrey.DataTypes" library provides a set of reusable data types, enums, and extension methods for .NET applications. It is designed to standardize common value representations and operations, making code more readable, maintainable, and interoperable across projects.
2. Features
Core Enums:
OnOff: Represents binary states (On, Off).HighLow: Represents high/low states for signal or value semantics.DataEndings: Represents common text line endings (None, CR, LF, CRLF) with descriptions for platform compatibility.YesNoResult(from Oakrey.Interactions.Responses): Represents yes/no responses for user interactions.
Extension Methods:
DataEndingsExtensions:GetEnding: Returns the string representation of a line ending.AppendDataEnding: Appends the specified line ending to a string or character array.
Interoperability:
- Designed for use in UI converters, data processing, and communication protocols.
- Integrates with other Oakrey libraries for consistent value handling.
3. Installation
You can install the package via NuGet Package Manager, Package Manager Console or the .NET CLI.
NuGet Package Manager
- Open your project in Visual Studio.
- Navigate to Tools > NuGet Package Manager > Manage NuGet Packages for Solution....
- Search for
Oakrey.DataTypesand click Install.
.NET CLI
Run the following command in your terminal:
dotnet add package Oakrey.DataTypes
Package Manager Console
Run the following command in your Package Manager Console:
Install-Package Oakrey.DataTypes
4. Requirements
- .NET 8 or higher
5. Project Information
- Author: Oakrey
- Company: Oakrey (Website Link)
- License: MIT
- Repository: Git Repository
- Project URL: Project Website
6. Contributing
Contributions are welcome! Feel free to open issues or submit pull requests to improve the package.
7. License
This project is licensed under the MIT License. See the LICENSE file for details.
| 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
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Oakrey.DataTypes:
| Package | Downloads |
|---|---|
|
Oakrey.Wpf.OakreyTypesConverters
Provides a collection of value converters for WPF applications, including for Oakrey custom types, and data transformation converters. Simplifies data binding and enhances UI flexibility |
GitHub repositories
This package is not used by any popular GitHub repositories.