antonyoung / Validators

Engine as validator, formatter of European Postal Codes and or International Bank Accounts Numbers ( IBAN, ) It's fast, it's simple and it works ( based on regular expressions and C#, NET Standard 2.1 ) Easy extendable, deployed as separate nuget-packages.
GNU General Public License v3.0
2 stars 1 forks source link

Feature: Update readme file as code examples ( DI ) #93

Closed antonyoung closed 1 year ago

antonyoung commented 1 year ago

Is your feature request related to a problem? Please describe. Forgot, but yes the code examples will not work as var validator = new WhateverValidator()l So, we have to update the readme file, with current dependency injection as constructor logic.

Describe the solution you'd like Update code examples in readme file, because = new will not work anymore with DI implementation.

Describe alternatives you've considered Not 100% sure how to make it clear as code examples, but ok.

Additional context Readme has to be updated, because it creates confusion as HOW TO?

antonyoung commented 1 year ago

Done