JAAvila.SafeTypes 1.0.4-alpha.0.1

This is a prerelease version of JAAvila.SafeTypes.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package JAAvila.SafeTypes --version 1.0.4-alpha.0.1
                    
NuGet\Install-Package JAAvila.SafeTypes -Version 1.0.4-alpha.0.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="JAAvila.SafeTypes" Version="1.0.4-alpha.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="JAAvila.SafeTypes" Version="1.0.4-alpha.0.1" />
                    
Directory.Packages.props
<PackageReference Include="JAAvila.SafeTypes" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add JAAvila.SafeTypes --version 1.0.4-alpha.0.1
                    
#r "nuget: JAAvila.SafeTypes, 1.0.4-alpha.0.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=JAAvila.SafeTypes&version=1.0.4-alpha.0.1&prerelease
                    
Install JAAvila.SafeTypes as a Cake Addin
#tool nuget:?package=JAAvila.SafeTypes&version=1.0.4-alpha.0.1&prerelease
                    
Install JAAvila.SafeTypes as a Cake Tool

SafeTypes Utilities

SafeTypes Utilities is a collection of tools and utilities designed to enhance type safety in your projects. With this library, you can reduce runtime errors by leveraging compile-time type checks and ensuring stricter contracts within your codebase.

alternate text is missing from this package README image alternate text is missing from this package README image

Features

  • Enhanced Type Safety: Focus on preventing common programming bugs caused by incompatible types.
  • Extensibility: Easily extend and adapt to your specific application needs.
  • Seamless Integration: Works out-of-the-box with .NET Core (net8.0) and higher.

Getting Started

Start by installing the package via NuGet:

dotnet add package JAAvila.SafeTypes

Integrate the library into your project to start leveraging its type-safe utilities.

Requirements

  • Framework: .NET 8.0 or higher
  • Language: C# 12 or newer

Note: The library takes full advantage of modern C# features, so make sure your project matches the minimum requirements mentioned above.

Installation

  1. Add the package to your project using the command:

    dotnet add package JAAvila.SafeTypes
    
  2. Import the library into your code:

    using JAAvila.SafeTypes;
    
  3. Start coding with added type-safe reliability!

Usage Example

Here’s a basic example to illustrate how you can use this utility:

using SafeTypes.SafeTypes.Extension;

IEnumerable<int>? source = null;
var result = source.SafeNull().ToList();
// Use the type-safe instance as needed

More detailed examples can be found in the documentation (soon).

Contributing

Contributions are welcome! If you’d like to contribute, please fork this repository, create a new branch, and submit a pull request with your changes.

Before contributing, make sure to review the code of conduct and guidelines for contributions.

License

This project is licensed under the Apache License 2.0. See the LICENSE file for details.

Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net8.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.4-alpha.0.7 28 11 hours ago
1.0.4-alpha.0.6 39 a day ago
1.0.4-alpha.0.5 41 2 days ago
1.0.4-alpha.0.1 75 9 days ago
1.0.3 63 16 days ago
1.0.3-alpha.0.6 118 20 days ago
1.0.3-alpha.0.5 125 25 days ago
1.0.3-alpha.0.4 120 a month ago
1.0.3-alpha.0.3 124 a month ago
1.0.3-alpha.0.2 125 a month ago
1.0.3-alpha.0.1 179 a month ago
1.0.2 98 2 months ago
1.0.2-alpha.0.2 59 2 months ago
1.0.2-alpha.0.1 65 2 months ago
1.0.1 95 2 months ago
1.0.0 89 2 months ago