This library contains common, shared functionality.
CI builds are available via MyGet
This project targets both
net45. Due to .Net 4.5.2 being the currently latest supported version
by Microsoft and the xUnit test suite, no tests are run for
Base class for property binding with INotifyPropertyChanged.
Encryption and decryption methods using AES and PBKDF2.
Sanitize()method to normalize line endings to current environments default and to also trim whitespaces at each line end
Decompressmethods using GZip and returning Base64 output
WithMaxLength(int maxLength)to limit the length of a string by dropping everything above a max length
WithoutLinebreaksto remove all linebreaks in a string
Extensions to produce MD5 and SHA256 values for strings.
WithMaxAbsoluteValue(int maxValueAbsolute)to limit a decimal to a maximum value. This works for both negative and positive decimals, e.g.
Collection that notifies of item changes (add, delete) as well as whenever a child item that implements INotifyPropertyChanged is changed.
The library supports
netstandard2.0 as well as
net45. Binaries for the full framework are separately generated for older build tools that do not properly integrate with .NET Standard.
If supported by the tooling (Visual Studio 2017 or the dotnet CLI should be fine), it's advised to use the
When using .NET Standard, all features should be available on Windows, Linux and Mac OS, but unit and integration tests are only performed for the following frameworks on Windows:
There are no known issues with other configurations, but neither is their functionality tested.