Metalama.Extensions.Validation
2025.1.16
Prefix Reserved
See the version list below for details.
dotnet add package Metalama.Extensions.Validation --version 2025.1.16
NuGet\Install-Package Metalama.Extensions.Validation -Version 2025.1.16
<PackageReference Include="Metalama.Extensions.Validation" Version="2025.1.16" />
<PackageVersion Include="Metalama.Extensions.Validation" Version="2025.1.16" />
<PackageReference Include="Metalama.Extensions.Validation" />
paket add Metalama.Extensions.Validation --version 2025.1.16
#r "nuget: Metalama.Extensions.Validation, 2025.1.16"
#:package Metalama.Extensions.Validation@2025.1.16
#addin nuget:?package=Metalama.Extensions.Validation&version=2025.1.16
#tool nuget:?package=Metalama.Extensions.Validation&version=2025.1.16
About
The Metalama.Extensions.Validation package extends Metalama.Framework with APIs that allow to validate code. Its most important and unique feature is the ability to validate code references (i.e. usages or dependencies).
This package provides a base API from which concrete validation rules can be built.
Features
- Validate code references (i.e. code usages or dependencies).
- Validate declarations before or after aspects have been applied.
- Warnings appear as familiar C# warnings.
- Immediate feedback as you type in the IDE.
- Warnings can be suppressed using the standard mechanisms such as
#pragma warning disable. - Extensible through
Metalama.Frameworkor Roslyn.
License
This package is a commercial extension of the open-source Metalama.Framework and requires a Metalama Professional license.
Principal Types
ValidationQueryExtensions provides the
Validateextension method to theIQueryinterface exposed by aspects and fabrics. This methods allows to validate a declaration, possibly before or after it has been modified by aspects.ReferenceValidationQueryExtensions provides the
ValidateInboundReferencemethods to theIQueryinterface exposed by aspects and fabrics. It allows to validate code that references the target declaration.
Documentation
API Documentation: Metalama.Extensions.Validation
Conceptual Documentation: Validating code from an aspect
Related Packages
- Metalama.Extensions.Architecture implements concrete rules based on
Metalama.Extensions.Validation.
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- Metalama.Extensions.Validation.Redist (>= 2025.1.16)
- Metalama.Framework (>= 2025.1.16)
- Metalama.Licensing (>= 2025.1.16)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Metalama.Extensions.Validation:
| Package | Downloads |
|---|---|
|
Metalama.Extensions.Architecture
A commercial Metalama extension that allows to verify the code against architecture rules. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2026.0.5-preview | 37 | 11/12/2025 |
| 2026.0.4-preview | 110 | 11/8/2025 |
| 2026.0.3-preview | 321 | 10/30/2025 |
| 2026.0.2-preview | 199 | 10/7/2025 |
| 2026.0.1-preview | 133 | 10/4/2025 |
| 2025.2.5-rc | 195 | 10/7/2025 |
| 2025.2.4-rc | 193 | 10/1/2025 |
| 2025.2.2-preview | 742 | 9/19/2025 |
| 2025.2.1-preview | 250 | 9/9/2025 |
| 2025.1.16 | 208 | 10/22/2025 |
| 2025.1.15 | 208 | 10/7/2025 |
| 2025.1.14 | 247 | 9/30/2025 |
| 2025.1.13 | 229 | 9/5/2025 |
| 2025.1.12 | 528 | 8/7/2025 |
| 2025.1.11 | 638 | 7/23/2025 |
| 2025.1.10 | 477 | 7/3/2025 |
| 2025.1.9 | 652 | 5/29/2025 |
| 2025.1.8 | 253 | 5/26/2025 |
| 2025.1.7 | 249 | 5/22/2025 |
| 2025.1.6 | 339 | 5/15/2025 |
| 2025.1.5 | 271 | 5/2/2025 |
| 2025.1.4-rc | 314 | 4/15/2025 |
| 2025.1.3-rc | 279 | 4/9/2025 |
| 2025.1.2-preview | 290 | 4/1/2025 |
| 2025.1.1-preview | 244 | 3/18/2025 |