Alis.Core.Aspect.Memory
0.8.2
Prefix Reserved
See the version list below for details.
dotnet add package Alis.Core.Aspect.Memory --version 0.8.2
NuGet\Install-Package Alis.Core.Aspect.Memory -Version 0.8.2
<PackageReference Include="Alis.Core.Aspect.Memory" Version="0.8.2" />
<PackageVersion Include="Alis.Core.Aspect.Memory" Version="0.8.2" />
<PackageReference Include="Alis.Core.Aspect.Memory" />
paket add Alis.Core.Aspect.Memory --version 0.8.2
#r "nuget: Alis.Core.Aspect.Memory, 0.8.2"
#:package Alis.Core.Aspect.Memory@0.8.2
#addin nuget:?package=Alis.Core.Aspect.Memory&version=0.8.2
#tool nuget:?package=Alis.Core.Aspect.Memory&version=0.8.2
Develop the video games of your dreams 💯 free!! on Windows, MacOS, Linux, Android(soon), IOS(soon).
📚 Alis.Core.Aspect.Memory
⚙️ Modular Design
All modules within the Alis framework, including
Alis.Core.Aspect.Memory, are fully independent and can be used separately. While the primary focus of Alis is game development, these modules are designed to be versatile and can be integrated into other types of applications or environments where memory management or data validation is required.
🖥️ Platform Compatibility
The Alis framework, including
Alis.Core.Aspect.Memory, is designed to support a wide range of platforms, ensuring flexibility and adaptability for developers. Each module is optimized for seamless integration across the following architectures and operating systems:
Supported Platforms:
- Windows
win-x64win-x86win-arm64
- Linux
linux-x64linux-musl-x64linux-armlinux-arm64linux-musl-armlinux-musl-arm64
- macOS
osx-x64osx-arm64
📖 Description
Alis.Core.Aspect.Memory is a module within the Alis framework that provides tools for memory management and
validation, ensuring that values meet specified constraints. It includes a set of attributes and a validation system to
ensure that data values adhere to important rules, such as non-zero or non-null values.
Features:
- Data Validation: Use attributes like
[IsNotZero]and `` to ensure values meet specific conditions. - Flexible Validation: Validator system that checks values before they are used, preventing runtime errors.
- Main Classes:
Validator: Validates data according to rules such as non-zero or non-null.NotZeroException: Thrown when a value is zero when it shouldn't be.
🚀 Getting Started
To start using Alis.Core.Aspect.Memory, simply install the package:
dotnet add package Alis.Core.Aspect.Memory
This module is ideal for applications where data integrity is crucial, and you need to ensure that certain values adhere to specific constraints.
Basic Usage Example:
using Alis.Core.Aspect.Memory;
using System;
public static class Program
{
/// <summary>
/// Gets or sets the value of the non zero value
/// </summary>
[IsNotZero] private static int _nonZeroValue;
/// <summary>
/// Gets or sets the value of the non zero value
/// </summary>
private static int _nonZeroValuev2;
/// <summary>
/// Gets or sets the value of the sample
/// </summary>
[IsNotZero]
private static int Sample { get; set; }
/// <summary>
/// Samples the method using the specified value
/// </summary>
/// <param name="value">The value</param>
public static void SampleMethod([IsNotZero] int value)
{
Logger.Info("The value of value is " + value);
}
/// <summary>
/// Main the args
/// </summary>
/// <param name="args">The args</param>
public static void Main(string[] args)
{
try
{
Sample = 0;
}
catch (NotZeroException e)
{
Logger.Info(e);
}
try
{
SampleMethod(0);
}
catch (NotZeroException e)
{
Logger.Info(e);
}
_nonZeroValuev2 = 0;
try
{
_nonZeroValue = 0;
}
catch (NotZeroException ex)
{
Logger.Info(ex);
}
try
{
_nonZeroValue = 5;
Logger.Info("NonZeroValue has been successfully set to " + _nonZeroValue);
}
catch (NotZeroException ex)
{
Logger.Info(ex.Message);
}
}
}
🛡️ License
The ALIS framework is released under the GNU General Public License v3 (GPL-3.0), ensuring your freedom to use, modify, and distribute the framework.
Key License Points
Complete Freedom for Developers:
Any software created with the ALIS framework is free to use, modify, and distribute.Source Code Availability:
If you modify the ALIS framework, you must make the source code publicly available under the GPL-3.0 license.Monetization:
You are free to monetize any project developed using ALIS without any royalties.
Contributor Guide
We welcome contributions to the project! Please check our Code of Conduct for guidelines on how to contribute respectfully.
Authors
| Pablo Perdomo Falcón |
Collaborators
| Raúl Lozano Ponce | Juan Ángel Trujillo Jiménez | Pablo Perdomo Falcón | Christian García | RicardoVillarta |
| Gabriel | Pedro D.GR | Claudia2000pf | Carlos | Roser Almenar |
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 is compatible. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. 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 is compatible. 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 was computed. 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. |
| .NET Core | netcoreapp2.0 is compatible. netcoreapp2.1 is compatible. netcoreapp2.2 is compatible. netcoreapp3.0 is compatible. netcoreapp3.1 is compatible. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 is compatible. |
| .NET Framework | net461 is compatible. net462 was computed. net463 was computed. net47 was computed. net471 is compatible. net472 is compatible. net48 is compatible. net481 is compatible. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETCoreApp 2.0
- System.Memory (>= 4.6.2)
- System.Runtime.CompilerServices.Unsafe (>= 6.1.1)
-
.NETCoreApp 2.1
- System.Memory (>= 4.6.2)
- System.Runtime.CompilerServices.Unsafe (>= 6.1.1)
-
.NETCoreApp 2.2
- System.Memory (>= 4.6.2)
- System.Runtime.CompilerServices.Unsafe (>= 6.1.1)
-
.NETCoreApp 3.0
- System.Memory (>= 4.6.2)
- System.Runtime.CompilerServices.Unsafe (>= 6.1.1)
-
.NETCoreApp 3.1
- System.Memory (>= 4.6.2)
- System.Runtime.CompilerServices.Unsafe (>= 6.1.1)
-
.NETFramework 4.6.1
- System.IO.Compression (>= 4.3.0)
- System.Memory (>= 4.6.2)
- System.Net.Http (>= 4.3.0)
- System.Runtime.CompilerServices.Unsafe (>= 6.1.1)
-
.NETFramework 4.7.1
- System.IO.Compression (>= 4.3.0)
- System.Memory (>= 4.6.2)
- System.Net.Http (>= 4.3.0)
- System.Runtime.CompilerServices.Unsafe (>= 6.1.1)
-
.NETFramework 4.7.2
- System.IO.Compression (>= 4.3.0)
- System.Memory (>= 4.6.2)
- System.Net.Http (>= 4.3.0)
- System.Runtime.CompilerServices.Unsafe (>= 6.1.1)
-
.NETFramework 4.8
- System.IO.Compression (>= 4.3.0)
- System.Memory (>= 4.6.2)
- System.Net.Http (>= 4.3.0)
- System.Runtime.CompilerServices.Unsafe (>= 6.1.1)
-
.NETFramework 4.8.1
- System.IO.Compression (>= 4.3.0)
- System.Memory (>= 4.6.2)
- System.Net.Http (>= 4.3.0)
- System.Runtime.CompilerServices.Unsafe (>= 6.1.1)
-
.NETStandard 2.0
- System.Memory (>= 4.6.2)
- System.Runtime.CompilerServices.Unsafe (>= 6.1.1)
-
.NETStandard 2.1
- System.Memory (>= 4.6.2)
- System.Runtime.CompilerServices.Unsafe (>= 6.1.1)
-
net5.0
- No dependencies.
-
net6.0
- No dependencies.
-
net7.0
- No dependencies.
-
net8.0
- No dependencies.
-
net9.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.5 | 80 | 4/5/2026 | |
| 1.0.4 | 78 | 4/4/2026 | |
| 1.0.3 | 87 | 4/3/2026 | |
| 1.0.2 | 77 | 4/3/2026 | |
| 1.0.1 | 100 | 3/17/2026 | |
| 1.0.0 | 92 | 3/16/2026 | |
| 0.9.9 | 91 | 3/10/2026 | |
| 0.9.8 | 87 | 3/10/2026 | |
| 0.9.7 | 85 | 3/7/2026 | |
| 0.9.6 | 92 | 3/1/2026 | |
| 0.9.5 | 90 | 2/27/2026 | |
| 0.9.4 | 92 | 2/20/2026 | |
| 0.9.3 | 107 | 2/19/2026 | |
| 0.9.2 | 101 | 2/16/2026 | |
| 0.9.1 | 93 | 2/16/2026 | |
| 0.9.0 | 94 | 2/15/2026 | |
| 0.8.9 | 106 | 2/15/2026 | |
| 0.8.8 | 91 | 2/11/2026 | |
| 0.8.7 | 115 | 2/11/2026 | |
| 0.8.2 | 227 | 11/3/2025 |

