-
Notifications
You must be signed in to change notification settings - Fork 248
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update the infrastructure for single result specifications. (#272)
* Added new contracts and base classes for single result specifications. * Updated repository with verbose methods. Marked GetBySpec methods as obsolete. * Removed the constraint for GetBySpec method. * Added UpdateRangeAsync repository method. * Update XML comment.
- Loading branch information
Showing
8 changed files
with
207 additions
and
18 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
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
10 changes: 0 additions & 10 deletions
10
Specification/src/Ardalis.Specification/ISingleResultSpecificationOfT.cs
This file was deleted.
Oops, something went wrong.
12 changes: 12 additions & 0 deletions
12
Specification/src/Ardalis.Specification/SingleResultSpecification.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
namespace Ardalis.Specification | ||
{ | ||
/// <inheritdoc cref="ISingleResultSpecification{T}"/> | ||
public class SingleResultSpecification<T> : Specification<T>, ISingleResultSpecification<T> | ||
{ | ||
} | ||
|
||
/// <inheritdoc cref="ISingleResultSpecification{T, TResult}"/> | ||
public class SingleResultSpecification<T, TResult> : Specification<T, TResult>, ISingleResultSpecification<T, TResult> | ||
{ | ||
} | ||
} |
Oops, something went wrong.