Collection of simple helpers for .Net
Helpers for IEnumerable<T>
and IAsyncEnumerable<T>
- Batch helper - pack the given enumerable in batches with a specified maximum batch size
Helpers library to use with Polly
- Ready to use retry policies with logging
TransientRetryAsyncPolicy
for transient errorsTimeoutRetryAsyncPolicy
for HTTP 429
- Helpers to store data in
Polly.Context
- Helpers to execute HTTP requests with
Polly.IAsyncPolicy<HttpResponseMessage>
Helpers to work with email address
- Get emails form string source
- Check if string is correct email
- Get specific email address parts
Helpers to parse phone numbers from string
- Get all valid numbers or mobile only
- Parse one source with different regional formats at one call
This library uses libphonenumber-csharp inside
As for now documentation is provided in this document and by XML documentation inside packages.
If you find a bug, have a question or something else - you are friendly welcome to open an issue.
Copyright © 2021 Anton Andryushchenko. AInq.Helpers is licensed under Apache License 2.0