andrebaltieri / Flunt

Validations and Notifications
https://github.com/andrebaltieri/flunt
MIT License
627 stars 162 forks source link
aspnet blazor csharp ddd domain dotnet dotnetcore maui

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 Nuget

Dependencies

.NET Standard 2.0

You 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

public class Customer : Notifiable<Notification>
{
  ...
}

var customer = new Customer();
customer.AddNotification("Name", "Invalid name");

if(customer.IsValid)
  ...

Just check our Wiki for more details and samples of how to use Flunt in your applications.

Extensions

Mods

About the Art

All logo, icons, colors and fonts were provided with love by Gregory Buso