Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MandatoryAttribute should allow nullable values with default of under…
…lying type (#58) * Extend Mandatory Attribute. * Resolve nullables by using ValidationContext.
- Loading branch information
Corniel Nobel
committed
Jul 9, 2019
1 parent
4933aa0
commit cae74ff
Showing
12 changed files
with
104 additions
and
130 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project> | ||
<PropertyGroup> | ||
<VersionPrefix>3.2.5.2</VersionPrefix> | ||
<VersionPrefix>3.2.5</VersionPrefix> | ||
<VersionSuffix Condition="'$(VersionSuffix)'!='' AND '$(BuildNumber)' != ''"></VersionSuffix> | ||
</PropertyGroup> | ||
</Project> |
50 changes: 44 additions & 6 deletions
50
src/Qowaiv.ComponentModel/DataAnnotations/MandatoryAttribute.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 0 additions & 21 deletions
21
test/Qowaiv.ComponentModel.UnitTests/TestTools/DataAnnotationsAssert.cs
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
test/Qowaiv.ComponentModel.UnitTests/TestTools/TestServiceProvider.cs
This file was deleted.
Oops, something went wrong.
50 changes: 0 additions & 50 deletions
50
test/Qowaiv.ComponentModel.UnitTests/TestTools/ValidationTestMessage.cs
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.