Files
SimpleToolkit.Attributes/README.md
Mateusz Skoczek 0cfd932b50
All checks were successful
Build and publish package / Build (push) Successful in 27s
Build and publish package / Determine version (push) Successful in 16s
Build and publish package / Pack (push) Successful in 26s
Build and publish package / Publish (push) Successful in 12s
migration
2026-02-15 14:15:28 +01:00

125 lines
4.0 KiB
Markdown

<p align="center"><img src=".gitea/readme/icon.png"/></p>
<h1 align="center">SimpleToolkit.Attributes</h1>
<h3 align="center"><b>Set of helpers, class extensions, UI controls used in my other C# projects</b></h3>
<p align="center">SimpleToolkit is package of useful classes, helpers, extensions and UI controls, I use in my C# projects. Attributes subpackage contains class, method and property attributes.</p>
---
## NuGet registry status
<table>
<tr>
<th>
Subpackage
</th>
<th>
Status
</th>
</tr>
<tr>
<td>
<b>SimpleToolkit.Attributes</b>
</td>
<td>
<a href="https://www.nuget.org/packages/SimpleToolkit.Attributes/"><img src="https://img.shields.io/nuget/v/SimpleToolkit.Attributes.svg?style=flat-square"></a>
</td>
</tr>
<tr>
<th colspan=2>
Other subpackages
</th>
</tr>
<tr>
<td>
SimpleToolkit.Extensions
</td>
<td>
<a href="https://www.nuget.org/packages/SimpleToolkit.Extensions/"><img src="https://img.shields.io/nuget/v/SimpleToolkit.Extensions.svg?style=flat-square"></a>
</td>
</tr>
<tr>
<td>
SimpleToolkit.MVVM
</td>
<td>
<a href="https://www.nuget.org/packages/SimpleToolkit.MVVM/"><img src="https://img.shields.io/nuget/v/SimpleToolkit.MVVM.svg?style=flat-square"></a>
</td>
</tr>
<tr>
<td>
SimpleToolkit.UI.Models
</td>
<td>
<a href="https://www.nuget.org/packages/SimpleToolkit.UI.Models/"><img src="https://img.shields.io/nuget/v/SimpleToolkit.UI.Models.svg?style=flat-square"></a>
</td>
</tr>
<tr>
<td>
SimpleToolkit.UI.WinUI.Behaviors
</td>
<td>
<a href="https://www.nuget.org/packages/SimpleToolkit.UI.WinUI.Behaviors/"><img src="https://img.shields.io/nuget/v/SimpleToolkit.UI.WinUI.Behaviors.svg?style=flat-square"></a>
</td>
</tr>
<tr>
<td>
SimpleToolkit.UI.WinUI.Converters
</td>
<td>
<a href="https://www.nuget.org/packages/SimpleToolkit.UI.WinUI.Converters/"><img src="https://img.shields.io/nuget/v/SimpleToolkit.UI.WinUI.Converters.svg?style=flat-square"></a>
</td>
</tr>
<tr>
<td>
SimpleToolkit.UI.WinUI.Controls
</td>
<td>
<a href="https://www.nuget.org/packages/SimpleToolkit.UI.WinUI.Controls/"><img src="https://img.shields.io/nuget/v/SimpleToolkit.UI.WinUI.Controls.svg?style=flat-square"></a>
</td>
</tr>
<tr>
<td>
SimpleToolkit.UI.WinUI.Helpers
</td>
<td>
<a href="https://www.nuget.org/packages/SimpleToolkit.UI.WinUI.Helpers/"><img src="https://img.shields.io/nuget/v/SimpleToolkit.UI.WinUI.Helpers.svg?style=flat-square"></a>
</td>
</tr>
</table>
## Features
- **RequiresClaimAttribute** - claim for ASP.NET Web API controller methods. Returns Forbidden result, when claim is not present.
## Dependencies
- Microsoft.AspNetCore.Mvc.Core 2.3.0
## Installation and usage
You can download package from official NuGet registry or .nupkg file itself from Releases tab.
**CLI:**
```
dotnet add package SimpleToolkit.Attributes
```
**Package reference in .csproj file:**
```
<PackageReference Include="SimpleToolkit.Attributes" Version="<version>" />
```
## Attribution and contribution
This project is open source on MIT License, so you can just copy and upload again to your repository. But according to the license, you must include information about the original author. You can find license <a href="https://repos.mateuszskoczek.com/SimpleToolkit/SimpleToolkit.Attributes/src/branch/main/LICENSE">here</a>.
However, the preferred way to contribute would be to propose improvements in a pull request, through issues, or through other means of communication.
**Other sources:**
- Icon by <a href="icons8.com">Icons8</a>