Example #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CompositeSpecification{TEntity}"/> class.
 /// </summary>
 /// <param name="leftSide">
 /// The left side.
 /// </param>
 /// <param name="rightSide">
 /// The right side.
 /// </param>
 public CompositeSpecification(Specification <TEntity> leftSide, Specification <TEntity> rightSide)
 {
     this._leftSide  = leftSide;
     this._rightSide = rightSide;
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="OrSpecification{TEntity}"/> class.
 /// </summary>
 /// <param name="leftSide">
 /// The left side.
 /// </param>
 /// <param name="rightSide">
 /// The right side.
 /// </param>
 public OrSpecification(Specification <TEntity> leftSide, Specification <TEntity> rightSide)
     : base(leftSide, rightSide)
 {
 }