JAAvila.SafeTypes
1.0.4-alpha.0.1
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
<PackageReference Include="JAAvila.SafeTypes" Version="1.0.4-alpha.0.1" />
<PackageVersion Include="JAAvila.SafeTypes" Version="1.0.4-alpha.0.1" />
<PackageReference Include="JAAvila.SafeTypes" />
paket add JAAvila.SafeTypes --version 1.0.4-alpha.0.1
#r "nuget: JAAvila.SafeTypes, 1.0.4-alpha.0.1"
#addin nuget:?package=JAAvila.SafeTypes&version=1.0.4-alpha.0.1&prerelease
#tool nuget:?package=JAAvila.SafeTypes&version=1.0.4-alpha.0.1&prerelease
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.
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
Add the package to your project using the command:
dotnet add package JAAvila.SafeTypes
Import the library into your code:
using JAAvila.SafeTypes;
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 | 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. |
-
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 |