Zentient.Metadata.Attributes
1.0.0
dotnet add package Zentient.Metadata.Attributes --version 1.0.0
NuGet\Install-Package Zentient.Metadata.Attributes -Version 1.0.0
<PackageReference Include="Zentient.Metadata.Attributes" Version="1.0.0" />
<PackageVersion Include="Zentient.Metadata.Attributes" Version="1.0.0" />
<PackageReference Include="Zentient.Metadata.Attributes" />
paket add Zentient.Metadata.Attributes --version 1.0.0
#r "nuget: Zentient.Metadata.Attributes, 1.0.0"
#:package Zentient.Metadata.Attributes@1.0.0
#addin nuget:?package=Zentient.Metadata.Attributes&version=1.0.0
#tool nuget:?package=Zentient.Metadata.Attributes&version=1.0.0
Zentient.Metadata.Attributes
Zentient.Metadata.Attributes provides a declarative, attribute-based approach to defining and discovering metadata in .NET applications. It enables you to annotate your types and members with rich metadata, which can be discovered and composed at runtime.
🧩 Key Features
- Attribute-Based Metadata: Use
[BehaviorDefinition]
,[CategoryDefinition]
, and[MetadataTag]
to declare metadata - Unified Discovery: Scan assemblies, types, and members for metadata attributes
- Legacy & Custom Attribute Support: Integrates with Zentient.Abstractions.Common.Metadata for cross-package compatibility
- Analyzer-Ready: Designed for use with Zentient.Metadata.Analyzers for best practices and DX
🚀 Getting Started
Install Zentient.Metadata.Attributes into your .NET project:
dotnet add package Zentient.Metadata.Attributes
Supported Frameworks: .NET 8.0, .NET 9.0
Example Usage
using Zentient.Metadata.Attributes;
[BehaviorDefinition]
public class AuditableBehavior : IBehaviorDefinition { }
[CategoryDefinition]
public class ServiceCategory : ICategoryDefinition { }
[MetadataTag(typeof(VersionTag), "1.2")]
public class MyService { }
✨ Core Concepts
- Declarative Model: Move metadata logic out of business code and into component design
- Unified Scanning: Discover both Zentient.Metadata and Zentient.Abstractions attributes
- Analyzer Integration: Get warnings for duplicate/conflicting tags and missing documentation
📚 Documentation
🤝 Contributing
We welcome contributions! Visit our GitHub Repository for source code, issues, and guidelines.
📄 License
Zentient.Metadata.Attributes is licensed under the MIT License. See the LICENSE file for details.
Zentient Framework – Attribute-driven, discoverable metadata for .NET.
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 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. |
-
net8.0
- Zentient.Abstractions (>= 3.0.2)
- Zentient.Metadata (>= 1.0.0)
- Zentient.Metadata.Abstractions (>= 1.0.0)
-
net9.0
- Zentient.Abstractions (>= 3.0.2)
- Zentient.Metadata (>= 1.0.0)
- Zentient.Metadata.Abstractions (>= 1.0.0)
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.0 | 138 | 9/11/2025 |
See CHANGELOG.md for release notes and docs/ for full specification.
Build Information:
- Built on: 2025-09-11T08:05:27.841Z
- Configuration: Release
- Target Framework:
- Version: 1.0.0
- Commit: cbb8ca4f62274368ddf294191cd3a94789e383a8
- Branch: main