W4G.Extensions
1.0.5
See the version list below for details.
dotnet add package W4G.Extensions --version 1.0.5
NuGet\Install-Package W4G.Extensions -Version 1.0.5
<PackageReference Include="W4G.Extensions" Version="1.0.5" />
paket add W4G.Extensions --version 1.0.5
#r "nuget: W4G.Extensions, 1.0.5"
// Install W4G.Extensions as a Cake Addin #addin nuget:?package=W4G.Extensions&version=1.0.5 // Install W4G.Extensions as a Cake Tool #tool nuget:?package=W4G.Extensions&version=1.0.5
W4G.Extensions
Este repositório contém uma coleção de extensões para facilitar o desenvolvimento em diversas plataformas.
Atualmente em construção, o objetivo é fornecer uma biblioteca de recursos úteis e comuns para agilizar o processo de desenvolvimento.
Recursos Disponíveis (em constante atualização)
Extensões para documentos (detalhes)
- CPF: CpfIsValid, CpfCorrect, CpfFormat.
- CNPJ: CnpjIsValid, CnpjCorrect, CnpjFormat.
Extensões para Serialização (detalhes)
- Json: ToJson, ToJsonFile.
- XML: ToXml, ToXmlFile.
Extensões para Números (detalhes) ToCurrency, ToExtensionMoneyBRL, ToExtensionValueBR.
Extensões para Strings (detalhes) NoAccents, OnlyNumbers.
Como Utilizar
Instalação via NuGet: Você pode instalar as extensões via NuGet Package Manager executando o seguinte comando no Console do Gerenciador de Pacotes:
dotnet add package W4G.Extensions
Depois de instalar o pacote, você pode usar as extensões em seu código. Veja um exemplo de uso do método ToCurrency():
using W4G.Extensions;
class Program
{
static void Main(string[] args)
{
double value = 1234.56;
string formattedValue = value.ToCurrency(); // R$ 1.234,56
Console.WriteLine(formattedValue);
}
}
Contribuindo
Contribuições são bem-vindas! Sinta-se à vontade para abrir issues para relatar bugs, sugerir novas funcionalidades ou enviar pull requests com melhorias.
Licença
Este projeto é licenciado sob a MIT License.
Este README.md fornece uma visão geral do repositório, lista os recursos disponíveis, explica como instalar e usar as extensões, e também encoraja contribuições.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net6.0
- Newtonsoft.Json (>= 13.0.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.