We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3781629 commit 60b1d52Copy full SHA for 60b1d52
Structural/Specification/Program.cs
@@ -13,7 +13,7 @@ public static void Main(string[] args) {
13
};
14
15
var smartSpecification = new ExpressionSpecification<Mobile>(mobile => mobile.Type == MobileType.Smart);
16
- var appleSpecification = new ExpressionSpecification<Mobile>(mobile => mobile.Brand = MobileBrand.Apple);
+ var appleSpecification = new ExpressionSpecification<Mobile>(mobile => mobile.Brand == MobileBrand.Apple);
17
// find all smart mobiles;
18
var smartMobiles = mobiles.FindAll(mobile => smartSpecification.IsSatisfiedBy(mobile));
19
// find all apple smart mobiles;
0 commit comments