-
-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature: Use IValidationState Instead of ValidationState (#130)
* Use IValidationState where possible * The new pattern plays well with our sample app * The new validation rule overloads * Use the new overload in our sample app * Additional unit tests * Approve the API * Update README.md (#131) Proposed update to indicate use of `IValidationState` or `ValidationState` with `ValidationRule`. * Refactor: change validation state to have a static valid state (#132) * Update ValidationState.cs Added static Valid property, for `ValidationState.Valid` as mentioned in #130 (comment) Updated document to use `ValidationState.Valid` as introduced in #131 * Replaced construction of valid validation states with `ValidationState.Valid`. * Added `ValidationState.Valid` to public API. * Don't break the public ObservableValidationBase API if possible * Use ValidationState.Valid in our sample app Co-authored-by: Craig Dean <thargy@yahoo.com>
- Loading branch information
1 parent
86e9e8a
commit e6aadc5
Showing
22 changed files
with
401 additions
and
151 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
63 changes: 42 additions & 21 deletions
63
src/ReactiveUI.Validation.Tests/API/ApiApprovalTests.ValidationProject.net472.approved.txt
Large diffs are not rendered by default.
Oops, something went wrong.
63 changes: 42 additions & 21 deletions
63
...tiveUI.Validation.Tests/API/ApiApprovalTests.ValidationProject.netcoreapp3.1.approved.txt
Large diffs are not rendered by default.
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
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
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.