コード例 #1
0
 public NotSpecification(RootSpecification <T> specification)
 {
     _specification = specification;
 }
コード例 #2
0
 public OrSpecification(IRootSpecification <T> left, IRootSpecification <T> right)
 {
     _right = right as RootSpecification <T> ?? throw new InvalidCastException(nameof(right));
     _left  = left as RootSpecification <T> ?? throw new InvalidCastException(nameof(left));;
 }
コード例 #3
0
ファイル: AndSpecification.cs プロジェクト: isis08/Isis
 public AndSpecification(IRootSpecification <T> left, IRootSpecification <T> right)
 {
     _right = right as RootSpecification <T>;
     _left  = left as RootSpecification <T>;
 }