Repository navigation
4.0.0
New Features
-
Package: Krafted.Extensions
StringExtension.ToSlug(): Converts a phrase to its slug representation. -
Package: Krafted.UnitTests
HttpMessageHandlerMock: Provides a mock to the HttpClient and HttpClientMockFactory
-
Package: Krafted.ValueObjects
Url: Represents an URL (Uniform Resource Locator) value object.
-
Package: Krafted.Guards
Guard.Regex
Improvements
Guard.Lenght(...): If the parameter is null or empty, no exception will be thrown.
Breaking Changes
The overload Guard.NullOrEmpty<T>(IEnumerable<T> parameter, string parameterName)
was deleted because now there are other method (Empty<T>(IEnumerable<T> collection, string parameterName)) that does the same.