Oakrey.Metadata
3.0.1
dotnet add package Oakrey.Metadata --version 3.0.1
NuGet\Install-Package Oakrey.Metadata -Version 3.0.1
<PackageReference Include="Oakrey.Metadata" Version="3.0.1" />
<PackageVersion Include="Oakrey.Metadata" Version="3.0.1" />
<PackageReference Include="Oakrey.Metadata" />
paket add Oakrey.Metadata --version 3.0.1
#r "nuget: Oakrey.Metadata, 3.0.1"
#:package Oakrey.Metadata@3.0.1
#addin nuget:?package=Oakrey.Metadata&version=3.0.1
#tool nuget:?package=Oakrey.Metadata&version=3.0.1
Oakrey.Metadata
1. Overview
The "Metadata" project provides a flexible and extensible framework for attaching, managing, and retrieving metadata on .NET objects and classes. It supports both static and dynamic metadata, allowing developers to annotate classes with custom attributes or add metadata at runtime. The project includes fluent APIs for easy metadata manipulation and utilities for extracting all metadata from objects.
2. Features:
- Attribute-based metadata: Use MetadataAttribute and PropertyMetadataAttribute to annotate classes and properties with key-value metadata.
- Dynamic metadata: MetadataContainer allows adding and binding metadata at runtime.
- Fluent API: MetadataFluentExtensions enables chaining metadata operations for concise and readable code.
- Metadata extraction: MetadataExtensions provides utilities to retrieve all metadata (static and dynamic) from objects as dictionaries.
- Strongly-typed and reflection-based access to metadata.
- Designed for .NET 8 and modern C#.
3. Installation
You can install the package via NuGet Package Manager, Package Manager Console or the .NET CLI.
NuGet Package Manager
- Open your project in Visual Studio.
- Navigate to Tools > NuGet Package Manager > Manage NuGet Packages for Solution....
- Search for
Oakrey.Metadataand click Install.
.NET CLI
Run the following command in your terminal:
dotnet add package Oakrey.Metadata
Package Manager Console
Run the following command in your Package Manager Console:
Install-Package Oakrey.Metadata
4. Requirements
- .NET 8 or higher
5. Project Information
- Author: Oakrey
- Company: Oakrey (Website Link)
- License: MIT
- Repository: Git Repository
- Project URL: Project Website
6. Contributing
Contributions are welcome! Feel free to open issues or submit pull requests to improve the package.
7. License
This project is licensed under the MIT License. See the LICENSE file for details.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. 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. |
-
net10.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.