akamsteeg / AtleX.HaveIBeenPwned

A fully async .NET Standard client library for the API of HaveIBeenPwned.com
https://www.nuget.org/packages/AtleX.HaveIBeenPwned/
MIT License
5 stars 0 forks source link

Move Uri creation logic to a separate Uri factory #54

Closed akamsteeg closed 3 years ago

akamsteeg commented 3 years ago

Currently, all Uris are created in HaveIBeenPwnedClient. This mixes in a lot of magic for that. If we use a separate factory class for uris we can just use that and simplify HaveIBeenPwnedClient.