Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/andrebaltieri/flunt
Validations and Notifications
https://github.com/andrebaltieri/flunt
aspnet blazor csharp ddd domain dotnet dotnetcore maui
Last synced: 5 days ago
JSON representation
Validations and Notifications
- Host: GitHub
- URL: https://github.com/andrebaltieri/flunt
- Owner: andrebaltieri
- License: mit
- Created: 2017-10-10T21:52:41.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2023-05-08T01:15:34.000Z (over 1 year ago)
- Last Synced: 2025-01-08T03:14:42.164Z (5 days ago)
- Topics: aspnet, blazor, csharp, ddd, domain, dotnet, dotnetcore, maui
- Language: C#
- Homepage: https://github.com/andrebaltieri/flunt
- Size: 993 KB
- Stars: 634
- Watchers: 47
- Forks: 163
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Flunt
Flunt is a fluent way to use Notification Pattern with your entities, concentrating every change you made and easy accessing it when you need.| Package | Version | Downloads |
| ------- | ----- | ----- |
| `Flunt` | [![NuGet](https://img.shields.io/nuget/v/Flunt.svg)](https://nuget.org/packages/Flunt) | [![Nuget](https://img.shields.io/nuget/dt/Flunt.svg)](https://nuget.org/packages/Flunt) |### Dependencies
.NET Standard 2.0You can check supported frameworks here:
https://docs.microsoft.com/pt-br/dotnet/standard/net-standard
### Instalation
This package is available through Nuget Packages: https://www.nuget.org/packages/Flunt**Nuget**
```
Install-Package Flunt
```**.NET CLI**
```
dotnet add package Flunt
```## How to use
```csharp
public class Customer : Notifiable
{
...
}var customer = new Customer();
customer.AddNotification("Name", "Invalid name");if(customer.IsValid)
...
```Just check our [Wiki](https://github.com/andrebaltieri/Flunt/wiki) for more details and samples of how to use Flunt in your applications.
## Extensions
* [Flunt.Extensions.Br](https://github.com/andrebaltieri/Flunt.Extensions.Br)
* [Flunt.Extensions.AspNet](https://github.com/andrebaltieri/Flunt.Extensions.AspNet)## Mods
* [Flunt.Br](https://github.com/lira92/flunt.br)
* [Flunt for Java](https://github.com/carlosbritojun/jflunt)
* [Flunt for JavaScript](https://github.com/jhonesgoncal/flunt)
* [Flunt for Python](https://github.com/Delatorrea/PyFlunt)
* [Flunt for PHP](https://github.com/matheusbloise/flunt-php)## About the Art
All logo, icons, colors and fonts were provided with love by Gregory Buso