Tickster.Utilities is a project for utility-classes and functions that are frequently used across our projects. In here you will find a subset of our actual Utils-project including:
- ExceptionSignatureBuilder
- NaturalStringComparer
- SerializedResourcePool
- MemberwiseEqualityComparer
- Rfc822AddressValidator
- HexTranslator
Given an Exception, builds a string-based signature for that exception. This is used by us to group exceptions in our error-logging system based on signature, which in turn gives us a good overview on how many times a particular exception has happened.
High performance, fully managed comparer for peforming natural sort (ie abc1 is sorted before "abc10"). White space is not significant for sorting (ie "abc 1" is equal to "abc1"). For highest performance initialize the comparer with StringComparison.Ordinal or StringComparison.OrdinalIgnoreCase.
SerializedResourcePool provides threadsafe (via ReaderWriterLockSlim) access to a collection, with an optional automatic purging of objects.
Provides an implementation of EqualityComparer that performs very fast memberwise equality comparison of objects.
Mirrored here, see self-contained repo
A high-performance email address validator that validates most email address formats specified in RFC 822. Outperforms several non-trivial (interpreted) regular expression based validation methods.
HexTranslator provides a smooth and performant way of moving between byte-arrays and hexadecimal strings.
Tickster.Utilities is licensed under the MIT License (OSI).