Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/andrebaltieri/flunt.extensions.br
Extensões do Flunt para validações BR
https://github.com/andrebaltieri/flunt.extensions.br
Last synced: 2 months ago
JSON representation
Extensões do Flunt para validações BR
- Host: GitHub
- URL: https://github.com/andrebaltieri/flunt.extensions.br
- Owner: andrebaltieri
- Created: 2021-02-16T15:20:26.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-02-19T18:17:56.000Z (almost 2 years ago)
- Last Synced: 2024-10-04T15:54:12.809Z (3 months ago)
- Language: C#
- Size: 622 KB
- Stars: 14
- Watchers: 3
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Flunt.Extensions.Br
Extensões do Flunt para validações BR| Package | Version | Downloads |
| ------- | ----- | ----- |
| `Flunt.Extensions.Br` | [![NuGet](https://img.shields.io/nuget/v/Flunt.Extensions.Br.svg)](https://nuget.org/packages/Flunt.Extensions.Br) | [![Nuget](https://img.shields.io/nuget/dt/Flunt.Extensions.Br.svg)](https://nuget.org/packages/Flunt.Extensions.Br) |### 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.Extensions.Br**Nuget**
```
Install-Package Flunt.Extensions.Br
```**.NET CLI**
```
dotnet add package Flunt.Extensions.Br
```## How to use
```csharp
public class Customer : Notifiable
{
public string Document { get; set; }
public void Validate()
{
AddNotifications(new Contract()
.IsCpf(Document, "CPF", "CPF inválido"));
}
}
```