Stef.Validation 0.2.0
🛡️ Stef.Validation
Guard methods for argument validation (NotNull, NotEmpty, ...)
Usage example
using Stef.Validation;
public Person(string name, int age)
{
Guard.NotNullOrEmpty(name, nameof(name));
Guard.NotNullOrEmpty(name); // It's also possible to omit the `nameof(...)`-statement because CallerArgumentExpression is used internally.
Guard.Condition(age, a => a > 0, nameof(age));
}
Sponsors
Entity Framework Extensions and Dapper Plus are major sponsors and proud to contribute to the development of Stef.Validation.
Showing the top 20 packages that depend on Stef.Validation.
| Packages | Downloads |
|---|---|
|
RandomDataGenerator.Net
This is a configurable generator to create random data like Lorum Ipsum Text, Words, Text Patterns, First/Last Names, IP-Addresses, Guids, DateTime and more.
|
8 |
|
ProtoBufJsonConverter
Convert a protobuf message to a JSON string or object (and back) using the proto definition file.
|
7 |
|
Handlebars.Net.Helpers.Core
Core functionality for Handlebars.Net.Helpers
|
7 |
|
RandomDataGenerator.Net
This is a configurable generator to create random data like Lorum Ipsum Text, Words, Text Patterns, First/Last Names, IP-Addresses, Guids, DateTime and more.
|
7 |
|
Handlebars.Net.Helpers.Core
Core functionality for Handlebars.Net.Helpers
|
6 |
See ReleaseNotes.md
.NET Framework 2.0
- LinqBridge (>= 1.3.0)
.NET Framework 3.5
- No dependencies.
.NET Framework 4.0
- No dependencies.
.NET Standard 1.0
- NETStandard.Library (>= 1.6.1)
.NET Standard 1.3
- NETStandard.Library (>= 1.6.1)
.NET Core 3.1
- No dependencies.
.NET 5.0
- No dependencies.
.NET 6.0
- No dependencies.
.NET Standard 2.0
- No dependencies.
.NET Standard 2.1
- No dependencies.
| Version | Downloads | Last updated |
|---|---|---|
| 0.2.0 | 4 | 10.07.2025 |
| 0.2.0-preview-02 | 3 | 10.07.2025 |
| 0.2.0-preview-01 | 4 | 10.07.2025 |
| 0.1.1 | 8 | 19.03.2025 |
| 0.1.0 | 6 | 19.03.2025 |
| 0.0.4 | 6 | 19.03.2025 |
| 0.0.3 | 6 | 19.03.2025 |
| 0.0.2 | 6 | 19.03.2025 |
| 0.0.1 | 6 | 19.03.2025 |

