⚠ Deprecated: Legacy
I was maintaining two versions of this package with shared code and SLIGHT differences between .Net Standard & .Net Framework but have now shifted simply to the .Net Standard version. If you migrate, the only breaking change you'll get is in the Logging package. Oh and thanks for your interest, Will (will@moonrise.media)
Suggested alternative: Moonrise.StandardUtils.NetStd
General utilities I've found useful as I go about my day-to-day work. Particular highlights include; Extensions.EnumExtensions : "Modifiable" description attributes with parsing from descriptions to associated enum value. Extensions.DateTimeExtensions : Neat little <DateTime var>.Within to find if the DT was within the last X seconds/days/etc Extensions.StringExtensions: To & from Comma Separated Lists and extract text from within specified "marker strings". Config.Settings: Typed reading from and writing default values to the .config or .json file. Exceptions.ReasonedExceptionT: Base class for my exception pattern that accompanies an exception with an enum reason where the description attribute provides both the (formattable) message and intellisense. This leads to a centralised list of all possible exception reasons and messages. Database.TransactedConnection : Handles nested transactions/connections. Validation : A number of additional validation attributes including ListContent, Child/Parent, NonDefault
License
—
Deps
2
Install Size
—
Vulns
✓ 0
Published
Oct 24, 2018
$ dotnet add package Moonrise.Utils.StandardNo README available.